Subsequences with recursion


I am getting output in reverse order compared to the sample output.Pl tell how to resolve it

@ayush15goel
Just reverse the order of your recursive calls and your code will work as expected.

yes got it.thank you