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 1 of 5

-9A0B
Start at A, 0 from itself. With this many places a shortest way has at most one road, so at most one round of looking along every road will do.

Question 1 of 3

What happens next?

Your guess