My code gives run time error and a wrong test case. why i it so?
Recursion-Dictionary Order(Larger) doubt
Hey @sghosh2018,
You have to modify your code for the testcases like:
Example1:
123
Expected Output:
132
213
231
312
321
Your Output:
132
Example2:
231
Expected Output:
321
312
Your Output:
no-output
Basically, you have to consider digits also.
Hope, this would help.
Try hard to resolve this issue.
If you still face problem, feel free to ask.
Give a like, if you are satisfied.