1
15kviews
Compare Prims and Kruskals method for finding Minimum spanning Tree find MST for following using prims method.
1 Answer
written 7.2 years ago by |
Ans:
Prims | Kruskal’s |
---|---|
This algorithm is for obtaining minimum spanning tree by selecting the adjacent vertices of already selected vertices. | This algorithm is for obtaining minimum spanning tree but it is not necessary to choose adjacent vertices of already selected vertices. |
Prim’s algorithm initializes with a node | Kruskal’s algorithm initiates … |