Question

Write a function that returns a list containing all permutations of a given string?

Login to Submit

Examples

Input: "on"
Output: ["on", "no"]