Question

Which algorithm finds the shortest paths between all pairs of vertices in a weighted graph?

A Dijkstra’s Algorithm
B Bellman-Ford Algorithm
C Floyd-Warshall Algorithm
D Prim’s Algorithm
E Kruskal’s Algorithm
Practice Next

Hey! Ask a query