3 testcases showing wrong answer.pls tell the correct code
Recursion dictionary order(smaller)
In the question it is mentioned βThe output strings must be sorted.β
Sample Input
cab
Sample Output
abc
acb
bac
bca
Please check this with your code.
pls tell in the form of a code
Refer this thread.
again the testcases are showing wrong answer
Check this.It is passing all cases in my side.