Not passing test case

prob: https://hack.codingblocks.com/app/contests/2022/153/problem

sol: https://ide.codingblocks.com/s/393903

Hey @raghav007
you have to print the sequences in lexicographicall order i.e dictionary order

So use vector with string
after generating all subsequence
sort the vector in main and print


I have made same changes but it is giving errors

Hey @raghav007
This is not how u have to do it
see this https://ide.codingblocks.com/s/393930
I think u are not well practiced with vectors and strings

true, vectors have not been taught yet in the course.

So u can skip this problem for now come back to it later

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.