Please guide me how to change the recursive call to get the desired output

iterate from end to start instead of start to end.
and append character to the start of previously constructed string.

or do this->

This is omitting the last character and even then answer(subsequences) is not in the required format

ok then try other solution that i shared (the logic is already covered in ur course).

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.