Steinhaus–Johnson–Trotter algorithm
Sign in to saveAlso known as Johnson–Trotter algorithm, plain changes
an algorithm that generates all permutations of a finite set
Also known as Johnson–Trotter algorithm, plain changes
an algorithm that generates all permutations of a finite set