please tell whats wrong
Subset sum easy test case 1 not passed
Hi,
You should consider subsets not subarray.
now ???
Your code is returning true even for the case when we have considered no element from array. Try to remove this error.
please tell me how to do that
you should put condition if(sum==0 && j>0) return true;