Examveda

Which of the following is true?

A. Prim's algorithm can also be used for disconnected graphs

B. Kruskal's algorithm can also run on the disconnected graphs

C. Prim's algorithm is simpler than Kruskal's algorithm

D. In Kruskal's sort edges are added to MST in decreasing order of their weights

Answer: Option B


Join The Discussion

Related Questions on Graph Algorithms (DFS, BFS, Dijkstras, etc)