Doubt in base case


Can u please tell me the base case of the problem.

hello @supratik260699
base case should be
if(i==n) { // i is ur current index and n is total number of elements in ur array

return true if sum of subset is zero and u have atleast one element in ur subset. otherwise return false.

}