Whats wrong in my program it's working fine but not passing any test case

u need to write all permutation of the string