guess the next step: Prim's cheapest links
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 21
Question 13 of 19
Step 13 of 21
Step 14 of 21
Step 15 of 21
Step 16 of 21
Step 17 of 21
Step 18 of 21
Step 19 of 21
Question 13 of 19
Question 13 of 19
Right.
You guessed: The road from C to G is cheaper than any found before, so write it.
What the run did:
The road from C to G is 2 long, cheaper than any road to G found before. Write 2 at G.
Question 13 of 19
Not this time.
You guessed: The road from C to G is no cheaper, so keep what is written.
What the run did:
The road from C to G is 2 long, cheaper than any road to G found before. Write 2 at G.
Question 14 of 19
Question 14 of 19
Right.
You guessed: The tree now has 13 of road.
What the run did:
G has the cheapest road to the tree, 2 long from C. Join G with that road: the tree now has 13 of road.
Question 14 of 19
Not this time.
You guessed: The tree now has 14 of road.
What the run did:
G has the cheapest road to the tree, 2 long from C. Join G with that road: the tree now has 13 of road.
Question 14 of 19
Not this time.
You guessed: The tree now has 15 of road.
What the run did:
G has the cheapest road to the tree, 2 long from C. Join G with that road: the tree now has 13 of road.
Question 15 of 19
Question 15 of 19
Right.
You guessed: The road from G to D is cheaper than any found before, so write it.
What the run did:
The road from G to D is 4 long, cheaper than any road to D found before. Write 4 at D.
Question 15 of 19
Not this time.
You guessed: The road from G to D is no cheaper, so keep what is written.
What the run did:
The road from G to D is 4 long, cheaper than any road to D found before. Write 4 at D.
Question 16 of 19
Question 16 of 19
Right.
You guessed: The road from G to H is cheaper than any found before, so write it.
What the run did:
The road from G to H is 3 long, cheaper than any road to H found before. Write 3 at H.
Question 16 of 19
Not this time.
You guessed: The road from G to H is no cheaper, so keep what is written.
What the run did:
The road from G to H is 3 long, cheaper than any road to H found before. Write 3 at H.
Question 17 of 19
Question 17 of 19
Right.
You guessed: The tree now has 16 of road.
What the run did:
H has the cheapest road to the tree, 3 long from G. Join H with that road: the tree now has 16 of road.
Question 17 of 19
Not this time.
You guessed: The tree now has 17 of road.
What the run did:
H has the cheapest road to the tree, 3 long from G. Join H with that road: the tree now has 16 of road.
Question 17 of 19
Not this time.
You guessed: The tree now has 18 of road.
What the run did:
H has the cheapest road to the tree, 3 long from G. Join H with that road: the tree now has 16 of road.
Question 18 of 19
Question 18 of 19
Right.
You guessed: The road from H to D is cheaper than any found before, so write it.
What the run did:
The road from H to D is 2 long, cheaper than any road to D found before. Write 2 at D.
Question 18 of 19
Not this time.
You guessed: The road from H to D is no cheaper, so keep what is written.
What the run did:
The road from H to D is 2 long, cheaper than any road to D found before. Write 2 at D.