Question: Prove or disprove that the greedy algorithm for making change always uses the fewest coins possible when the denominations available are 1-cent coins, 8-cent coins,
Prove or disprove that the greedy algorithm for making change always uses the fewest coins possible when the denominations available are 1-cent coins, 8-cent coins, and 20-cent coins.
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
