can i get the explanation of this problem.
Dictionry order large problem
hi @Affan-Mokarram-202031887744398 you are given a string, for eg cab. You can form a lot of permutations from this string, like
abc
acb
bac
bca
cab
cba
The question requires you to print all those permutations which are larger than the current string, and you have to print them in dictionary order. So
if the input is bac
the output should be
bca
cab
cba
Please mark the doubt as resolved if you got it
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.