Need help with my code


I am not able to understand/debug where my code is going wrong. I am able to pass3/4 test cases

@ayush_mahajan,
Increase the size of your dp.

Exactly take higher DP size as total weight can be upto 100X100.

thanks for the help. DP size was incorrect. It worked now