Steinhaus–Johnson–Trotter algorithm
Appearance
The Steinhaus-Johnson-Trotter algorithm or Johnson-Trotter algorithm is an algorithm which generates permutations by transposing elements.
See also
External links
References
This article incorporates public domain material from Paul E. Black. "Johnson-Trotter". Dictionary of Algorithms and Data Structures. NIST.