Oracle interview question

Generate the permutations of a string