Subset Sum problem

Why my test case 1 is not passing? It is showing runtime error.
Here is my code

@robbiesingh.singh84 declare dp array dynamically as constaints are large so not safe to declare static


dont forget to mark it as resolved and hit like if cleared :smiley:

1 Like