Question: this question is a dynamic programming question, but it can also be solved using recursive approach and both of the solutions are welcomed. any programing
this question is a dynamic programming question, but it can also be solved using recursive approach and both of the solutions are welcomed.
any programing language would do
but please write a report that includes:
an Online link to see and to run the codes on an online compiler site which has no access problems.
Explanations about the methods/approaches used and the code logic.
Calculations of the worst, best and average case time complexities and final representations using big-O, big- and big- notations.

QUESTION 3- Given an amount and the denominations of coins available, please write a code that calculates how many ways change can be made for amount. There is a limitless supply of each coin type. To solve the problem you can use either recursive approach or dynamic programming approach. Signature of the function could be: public long getWays(int amount, List cointypes) \{ \} Sample: For instance, if amount =3 and coinTypes =[8,3,1,2], the return value of the code must be "3" as there can be only three ways ({1,1,1},{1,2}, and {3}) to give change back
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
