I can produce subsequences but how can i arrange them in lexiographical order
I can produce subsequences but how can i arrange them in lexiographical order
hi @aakshatmalhotra100
What u can do is not directly print the subsequneces, first store them in a array/vector then sort them and then print…
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.