Question d’entretien chez HCLTech

write a program to find all permutations of the input string