Pls help me to debug the code
Hey @Senjuti256
Try this:
1
5
1 3 2 -3 -2
You see printing yes multiple times so you have to print yes and return back to main instead of checking for other subsets 
I wrote the return statement but how to return to main ? Break can’t be used as there is no loop
Instead of printing Yes or No in function return a bool instead to main
And in main if boolean var is true then print YES
Else print NO