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 13 of 31

-9-9-9-9-9-9-9-9-9-9-9-9-9A0B-9C-18D-27E-9F-18G-36H-36
The road from E to F is -9 long, so through E it is -18 to F, no shorter than the -18 written there. Keep -18.

Question 13 of 29

What happens next?

Your guess