Home / Engineering / Design and Analysis of Algorithms / Question

M

Mr. Dubey • 51.43K Points
Coach

Q.) Kruskal’s algorithm is best suited for the dense graphs than the prim’s algorithm.

(A) true
(B) false
(C) ---
(D) ---
Correct answer : Option (B) - false

Explanation:
 prim’s algorithm outperforms the kruskal’s algorithm in case of the dense graphs. it is significantly faster if graph has more edges than the kruskal’s algorithm.

Share

Discusssion

Login to discuss.