Tricky Permutations Java

Hello Buddy, one test case was not passed, please help me with the solution please https://ide.codingblocks.com/s/367483

convert the string to a char array. Sort the char array. And then just print the permutations. In this you will save a lot of computation. And the permutations will be sorted

can you give the solution, where to change in my code please

can you give the solution, where to change in my code please

refer to this: