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 19 of 36

623-457-212-3A0B1C6D8E2F5G4H5
The road from D to H is -3 long, so through D it is 5 to H, shorter than any way found before. Write 5 at H.

Question 19 of 34

What happens next?

Your guess