please see why my test cases are failing
Maximum Money needed
hi @Bansaljatin05
u dont need to use 2d dp in dis question.
Here is d code.Pls refer to dis
If something is unclear or u have any doubt, feel free to post them here.
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.