Given a string of length three representing a set (i.e., surrounded by curly braces) such as " { ABC } ", write a function that takes the string as an argument and returns a string of its permutations in comma-separated form, such as " { ABC, ACB, BAC, BCA, CAB, CBA } ". Hint: use multiple for loops.
We need at least 10 more requests to produce the solution.
0 / 10 have requested this problem solution
The more requests, the faster the answer.