Recursion - Subsequences

I’m getting the correct output, still all the test cases are failing, please check

1 Like

Hello Prashant, your code is alright no issues in that you just need to match the output format and for that use the exclusion condition first and then the inclusion condition it will work fine just try to match the output.
I hope it is clear to you. In case it is clear to you pls mark it as resolve and provide the rating as well as feedback so that we can improve ourselves.
In case there is still some confusion pls let me know, I will surely try to help you out.
Thanks :slight_smile:
Happy Coding !!

2 Likes