something is wrong with this solution, i am not getting any of my subsequent string printed
link to my solution
something is wrong with this solution, i am not getting any of my subsequent string printed
link to my solution
just change the sequence of calling recursion
correct one
subsequences(inc,exc,i+1,j);
exc[j]=inc[i];
subsequences(inc,exc,i+1,j+1);