Create a program to generate all permutations of a hardcoded string.
MediumProblem Statement
Create a program to generate all permutations of a hardcoded string.
Sample Input
String: "abc"
Sample Output
Permutations: abc acb bac bca cba cab
Limits
Time: 2s · Memory: 256 MB