Jim Newton
10/20/2015 7:38:00 AM
A funny comment on algorithm E (Ehrlich swaps) from Donald E. Knuth, The Art of Computer Programming Volume 4 Fascicle 2, Generating All Tuples and Permutations, page 57.
According to Gideon Ehrlich, the original author of this algorithm, the most amazing thing about it is that it works.