Goldman Sachs Interview Question

Find all the permutations of a given string