GRAPHS · SHORTEST PATH
Cheapest routes: greedy, brute-force, and all-pairs.
Lock in the closest node, relax its edges.
Relax all edges V−1 times; handles negatives.
All pairs, one matrix, three loops.