can you let me know why my code isn’t generating any output https://ide.codingblocks.com/s/171695
Subset sum easy
Your code is generating output. It will not generate any output if the value of n<=1 since in that case it will never be equal to n-1 and there will be infinite number of recursive calls.
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.