question 1
How many tries does the method make on coins of 1, 2 and 5 paying 8?
the answer, and why
the answer is D
Coin 1 is tried at 8 amounts, coin 2 at 7 and coin 5 at 4, which is 19.
if you chose another
- That tries every coin at every amount, but coins 2 and 5 are too big for the first amounts.
- That is the number of amounts filled, not the tries.
- That is the fewest coins for 8, as 5, 2, 1.