Which algorithm is used for solving the all-pairs shortest path problem?

Explanation:

Floyd-Warshall algorithm efficiently finds shortest paths between all pairs of vertices.

Explore more in Computer Science: