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