Topic: Mathematics Problem / Level: intermediate

Problem: Implement a function to generate all permutations of a string.

Run the code to see the output here...