Can you help me in guiding how should i approach this problem recursively.
Recursive approach cannot think of..?
you have to create all permutation of a string and then print only those which are greater than given string
output must be in sorted order hence use vector to store larger strings and print them after sorting
check out this code
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.