Recursion-Subsequence

I am getting output in the reverse order.

And if I change the order of function call in recursive case, I am getting all string as NULL.
What is the error.

Here is my code:

hello @lakshyatoshniwal
ur recurrence order was not correct.
check ur updated code here->