Question: a) Write down the recurrence equation for the well-known minimum Coin Change Problem. In other words, give change for amount using the minimum number of

a) Write down the recurrence equation for the well-known minimum Coin Change Problem. In other words, give change for amount using the minimum number of coins of denominations ! < " < < #. Example: Input: coins[ ] = {5, 10, 25}, n = 30 Output: Minimum 2 coins required Coin used: 5 and 25 cents Input: coins[ ] = {1, 5, 6, 9}, n = 11 Output: Minimum 2 coins required Coin used: 5 and 6 cents

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!