guess the next step: Greedy change-making
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 7 of 20
Question 7 of 16
Step 7 of 20
Step 8 of 20
Step 9 of 20
Step 10 of 20
Step 11 of 20
Step 12 of 20
Step 13 of 20
Question 7 of 16
Question 7 of 16
Right.
You guessed: A coin of 1 fits, so take it.
What the run did:
A coin of 1 fits in the 9 left, so take it. 8 left to pay.
Question 7 of 16
Not this time.
You guessed: A coin of 1 does not fit, so go on to the next smaller coin.
What the run did:
A coin of 1 fits in the 9 left, so take it. 8 left to pay.
Question 8 of 16
Question 8 of 16
Right.
You guessed: A coin of 1 fits, so take it.
What the run did:
A coin of 1 fits in the 8 left, so take it. 7 left to pay.
Question 8 of 16
Not this time.
You guessed: A coin of 1 does not fit, so go on to the next smaller coin.
What the run did:
A coin of 1 fits in the 8 left, so take it. 7 left to pay.
Question 9 of 16
Question 9 of 16
Right.
You guessed: A coin of 1 fits, so take it.
What the run did:
A coin of 1 fits in the 7 left, so take it. 6 left to pay.
Question 9 of 16
Not this time.
You guessed: A coin of 1 does not fit, so go on to the next smaller coin.
What the run did:
A coin of 1 fits in the 7 left, so take it. 6 left to pay.
Question 10 of 16
Question 10 of 16
Right.
You guessed: A coin of 1 fits, so take it.
What the run did:
A coin of 1 fits in the 6 left, so take it. 5 left to pay.
Question 10 of 16
Not this time.
You guessed: A coin of 1 does not fit, so go on to the next smaller coin.
What the run did:
A coin of 1 fits in the 6 left, so take it. 5 left to pay.
Question 11 of 16
Question 11 of 16
Right.
You guessed: A coin of 1 fits, so take it.
What the run did:
A coin of 1 fits in the 5 left, so take it. 4 left to pay.
Question 11 of 16
Not this time.
You guessed: A coin of 1 does not fit, so go on to the next smaller coin.
What the run did:
A coin of 1 fits in the 5 left, so take it. 4 left to pay.
Question 12 of 16
Question 12 of 16
Right.
You guessed: A coin of 1 fits, so take it.
What the run did:
A coin of 1 fits in the 4 left, so take it. 3 left to pay.
Question 12 of 16
Not this time.
You guessed: A coin of 1 does not fit, so go on to the next smaller coin.
What the run did:
A coin of 1 fits in the 4 left, so take it. 3 left to pay.