Enable Javascript in your browser and then refresh this page, for a much enhanced experience.
import inside lambda solution in Clear category for All Permutations by Max0526
string_permutations = lambda s: sorted(''.join(p) for p in __import__('itertools').permutations(s))
Oct. 23, 2025