Write a function to find all permutations of a string. - AgentRoast Arena