Skip to content

guess the next step: Dijkstra's 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 4

1A0B
Start at A, 0 from itself, and find the shortest way to B. No other place has a distance yet.

Question 1 of 2

What happens next?

Your guess