johnson-trotter (npm): An implementation of the Johnson-Trotter permutation algorithm.
Keywords: array|combinations|combinatorics|iterate|iterator|permutate|permutation|permute|step|swap