Permutations Without Dups
Write a method to compute all permutations of a string of unique characters.
Example:
permutations("abc") → ["abc", "acb", "bac", "bca", "cab", "cba"]
Return all permutations as a sorted list.
Hints
solution.py
Python ready
Test Output
▶
Click "Run Tests" to execute your code