Grant Street Group Interview Question

Return a string value of all the permutations of the given string.