Not able to clear test cases

Modified Code

the problem is your output is different from required output
you are printing subsequences in reverse order
look at sample output

correct way is
in recursion first don’t consider the char and then consider the character

look at modified Code
it is passing all testcase

i hope this help
if you have more doubts regarding this feel free to ask
if your doubt is resolved mark it as resolved from your doubt section inside your course

not able to clear test casses even after increasing size of array

yes i have update my reply
please see it

i think your doubt is resolved
so please mark this doubt as resolved

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.