As per the hint video I am passing two recursive calls.One without sum and moving vidx to next element. and one with calculating sum and then moving vidx. but its not working as I thought.
Subsets sum not generating
I slightly changed the code but still not able to figure out why it is not working and there are repeating cases in call stack
I have done some modification in your code please check it now
logic is same but i have done some modification
if you are not able to understand any portion or line
feel free to ask me