Floyd–Warshall computes shortest paths between all pairs of vertices. It runs in O(V^3) time and uses O(V^2) memory, so it’s practical mainly for smaller or dense graphs. It can handle negative edges, but not negative cycles.