Oracle Interview Question

Generate the permutations of a string