Question: 1. Show that the Greedy algorithm for coin changing works for denominations d 0 , d 1 , , d k , where d i
1. Show that the Greedy algorithm for coin changing works for denominations d0 , d1 , , dk , where di = di , where d > 0 (results and not proof)
2. Show that the Greedy algorithm for coin changing works for denominations d0 , d1 , , dk , where d0 = 1 and each di- 1 divides di (results and not proof)
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
