Skip to content

guess the next step: Bellman-Ford shortest paths

Before each step plays, guess what it does. The page then shows the step as the run takes it and says why, the same sentence the watch page says there.

Step 25 of 36

623-457-212-3A0B1C6D8E2F5G4H5
The road from A to B is 6 long, so through A it is 6 to B, no shorter than the 1 written there. Keep 1.

Question 25 of 34

What happens next?

Your guess