Pregunta de entrevista de Stack Overflow

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