hasgo icon indicating copy to clipboard operation
hasgo copied to clipboard

Permutations()

Open DylanMeeus opened this issue 5 years ago • 0 comments

The permutations function returns the list of all permutations of the argument.

[a] -> [[a]]
permutations "abc"
["abc","bac","cba","bca","cab","acb"]

DylanMeeus avatar May 22 '19 09:05 DylanMeeus