Possible Duplicate:
Kruskal vs Prim
When would you use Kruskal's algorithm over Prim's algorithm to find the minimum spanning tree? What kind of input graphs and nodes are beter for each kind? In what cases is it more efficient to use one of them when it comes to space and time?
Are their particular inputs that make one much better than the other?