guess the next step: Floyd-Warshall, every pair
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 56
Question 19 of 54
Step 19 of 56
Step 20 of 56
Step 21 of 56
Step 22 of 56
Step 23 of 56
Step 24 of 56
Step 25 of 56
Question 19 of 54
Question 19 of 54
Not this time.
You guessed: Going through the stop makes another way shorter.
What the run did:
Allow E as a stop on the way. For every pair of the other places, try going through E.
Question 19 of 54
Right.
You guessed: No other way gets shorter through this stop, so allow the next place.
What the run did:
Allow E as a stop on the way. For every pair of the other places, try going through E.
Question 20 of 54
Question 20 of 54
Right.
You guessed: Going through the stop makes another way shorter.
What the run did:
From F to E is 1, and from E to A is 2: 3 in all, shorter than any way found before. Write 3 for F to A.
Question 20 of 54
Not this time.
You guessed: No other way gets shorter through this stop, so allow the next place.
What the run did:
From F to E is 1, and from E to A is 2: 3 in all, shorter than any way found before. Write 3 for F to A.
Question 21 of 54
Question 21 of 54
Right.
You guessed: Going through the stop makes another way shorter.
What the run did:
From F to E is 1, and from E to B is 5: 6 in all, shorter than any way found before. Write 6 for F to B.
Question 21 of 54
Not this time.
You guessed: No other way gets shorter through this stop, so allow the next place.
What the run did:
From F to E is 1, and from E to B is 5: 6 in all, shorter than any way found before. Write 6 for F to B.
Question 22 of 54
Question 22 of 54
Right.
You guessed: Going through the stop makes another way shorter.
What the run did:
From F to E is 1, and from E to C is 9: 10 in all, shorter than any way found before. Write 10 for F to C.
Question 22 of 54
Not this time.
You guessed: No other way gets shorter through this stop, so allow the next place.
What the run did:
From F to E is 1, and from E to C is 9: 10 in all, shorter than any way found before. Write 10 for F to C.
Question 23 of 54
Question 23 of 54
Right.
You guessed: Going through the stop makes another way shorter.
What the run did:
From F to E is 1, and from E to D is 11: 12 in all, shorter than any way found before. Write 12 for F to D.
Question 23 of 54
Not this time.
You guessed: No other way gets shorter through this stop, so allow the next place.
What the run did:
From F to E is 1, and from E to D is 11: 12 in all, shorter than any way found before. Write 12 for F to D.
Question 24 of 54
Question 24 of 54
Right.
You guessed: Going through the stop makes another way shorter.
What the run did:
From F to E is 1, and from E to H is 14: 15 in all, shorter than any way found before. Write 15 for F to H.
Question 24 of 54
Not this time.
You guessed: No other way gets shorter through this stop, so allow the next place.
What the run did:
From F to E is 1, and from E to H is 14: 15 in all, shorter than any way found before. Write 15 for F to H.