TAOCP 7.2.1.2 Exercise 39
Working
Section 7.2.1.2: Generating All Permutations
Exercise 39. [16] [16] Write down the 24 permutations generated for n = 4 by (a) Ord-Smith’s method (26); (b) Heap’s method (27).
Verified: no
Solve time: 3m29s
Working
Working
Section 7.2.1.2: Generating All Permutations
Exercise 39. [16] [16] Write down the 24 permutations generated for n = 4 by (a) Ord-Smith’s method (26); (b) Heap’s method (27).
Verified: no
Solve time: 3m29s
Working