Can you please help me rectify where am I going wrong ?
IDE : https://ide.codingblocks.com/s/202771
Money Change : Multi DP
Hi @aman2382000, you forgot to take Mod of your answer with 10^9+7 , also initialize your dp array with 0 .
Here, i have corrected your code :
https://ide.codingblocks.com/s/202782
Mark your doubt as resolved if you got the answer