hey can u pls tell me what’s wrong with my code
here’s the link
Minimum Money Needed1
@archit_18
Read the problem statement again. You will realise that the N variable is given to just confuse you. It has absolutely no use. You only need to use W for array as well as the total weight amount.
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.