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