I have approached this problem as follows:
- Find every possible subset with sum =0.
- If number of such subsets > 0 Print yes else print No,
My code: https://ide.codingblocks.com/s/660982
I want to know what cases i am missing here and the problem with my code. Thanks for the help