can you please tell what is wrong in my submission code
Recursion-Dictionary order(larger)
@porwal Consider the input:
Input: abc
Expected Output:
acb
bac
bca
cab
cba
Your code’s output:
acb
bac
bca
cba
cab
The last two permutations are not in correct order, so try to work on your logic in this regard.
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.
this is link of my other solution which gives right answer for your test case but the answer is accepted only for 3 out of 4 test cases