Stack Overflow interview question

Hard coding task: Write a method that returns a list of permutations of the stringHard coding task: Write a method that returns a list of permutations of the string