Explanation: 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
Q. Prim’s algorithm resembles Dijkstra’s algorithm.
β
Correct Answer: (A)
true
Explanation by: Mr. Dubey
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
Discussion
Question Analytics
793
Total Visits
3 y ago
Published
Mr. Dubey
Publisher
94%
Success Rate