constrain big,how to alloacte big size array
Run error(MONEY CHANGE)
hello @mohitmahi123
we cannot declare a very big size array array due to memory constraint.
this problem can be solved using linear dp .
pls refer this article for the approach-> https://www.geeksforgeeks.org/coin-change-dp-7/
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.