Here below my code pls tell why my code is not print subsequence


pls check my code and comment the error.

hello @Shubham800

check here->

ur output string is of 0 size thats why it is not printing .
resize ur output string size and then it will work

can u pls explain it more properly i am unable to understand why it didn’t worked

just try to print the size of ur output string using output.size(), u will get ur mistake.

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.