please help
Subset sum problem
sir can you please explain the code
@bhattanurag426 your sum is initalised as 0 in the starting thats why we have to make the count variable so that the valid case will be only when your count is greater than 1.
sir but why we have used or in the return statement
Hello @bhattanurag426 because either of the option can give you the true answer thats why we have taken or in between.
because or statement will give true even if any one will evaluate out to be true.
I hope I’ve cleared your doubt. I ask you to please rate your experience here
Your feedback is very important. It helps us improve our platform and hence provide you
the learning experience you deserve.
On the off chance, you still have some questions or not find the answers satisfactory, you may reopen
the doubt.