why we did in line 14 subproblem +1 i did not iunderstand why
Why we did in line 14 subproblem +1
@Aditya-Kushwaha-914550392281281 hey 1+subproblem is there because,we have already use one coin and asking remaining number to find your ans through recursion,suppose 15 total hai 1,4,7 coins hai to 15 me se 1 use krlia to 14 ko hm bolenge ki tu apna answer lakr de and hmne ek 1 ka coin already use krlia hai tabhi 14 bacha hai so 1 is added for that 1+ 14 subproblrm answer.
Hope you get it.
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.