A

Admin • 831.35K Points
Coach

Q. Prim’s algorithm resembles Dijkstra’s algorithm.

  • (A) true
  • (B) false
  • (C) ---
  • (D) ---

Explanation by: Admin
in prim’s algorithm, the mst is constructed starting from a single vertex and adding in new edges to the mst that link the partial tree to a new vertex outside of the mst. and dijkstra’s algorithm also rely on the similar approach of finding the next closest vertex. so, prim’s algorithm

You must be Logged in to update hint/solution

Discusssion

Login to discuss.

Be the first to start discuss.