Order of printing the subsequences

what should be the order of printing subsequences after generating them and can there be duplicate elements in string?

@D19APPPP0016 its just basic subsequences question and for that order just do exclude first then include.
i hope its clear if yes dont forget to mark it as resolved and hit like :smiley:

Be more descriptive in your explanation

hey you have coded normal subsequences code right? share that code so i can tell you

in that you first include the answer to output array then exclude right??
so what happens when you first exclude then include try that

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.