Question: Problem 6.4. Suppose the coinage includes the values given in Section 6.1, but you have run out of nickels. Show that using the greedy algorithm


Problem 6.4. Suppose the coinage includes the values given in Section 6.1, but you have run out of nickels. Show that using the greedy algorithm with the remaining values does not necessarily produce an optimal solution
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
