Question

Which algorithm returns a minimum spanning tree (MS

  • T and uses a priority queue to select the next edge connected to the growing tree?
A Kruskal’s algorithm
B Prim’s algorithm
C Dijkstra’s algorithm
D Bellman-Ford
E Ford-Fulkerson
Practice Next

Hey! Ask a query