Groups
Category
FloydโWarshall computes the shortest distances between all pairs of vertices in O(n^3) time using dynamic programming.
Johnson's Algorithm computes all-pairs shortest paths on sparse graphs by first removing negative edges via reweighting, then running Dijkstra from every vertex.