Indifi interview question

Print the Permutations of a string.