Watch two shortest-path algorithms solve similar problems differently. Left: Dijkstra (non-negative edges). Right: Bellman–Ford (handles negative edges, no negative cycles). Start node A.
V−1 rounds. If a further pass still improves a distance, that would indicate a negative cycle (not present here).