Coin change problem

code:https://ide.codingblocks.com/s/586000
problem: https://www.interviewbit.com/problems/coin-sum-infinite/#

this problem was given in the assignment I know the solution is not complete yet but giving compilation error

Hi @raghav007 … refer this https://ide.codingblocks.com/s/586002
this is my personal code

I’m not able to get why I’m getting compilation error in my code

I tried running ur code… its compiling… but giving wrong output… try to implement it using using dp and bottom up approach… it will give u a better insight

I hope I’ve cleared your doubt. I ask you to please rate your experience here
Your feedback is very important. It helps us improve our platform and hence provide you
the learning experience you deserve.

On the off chance, you still have some questions or not find the answers satisfactory, you may reopen
the doubt.