Permutations by swapping: Difference between revisions
m
Added link to WP page on Heap's algorithm. The pseudocode presented on that page has been corrected since this task was created.
(Added Swift solution) |
m (Added link to WP page on Heap's algorithm. The pseudocode presented on that page has been corrected since this task was created.) |
||
Line 16:
* [[wp:Steinhaus–Johnson–Trotter algorithm|Steinhaus–Johnson–Trotter algorithm]]
* [http://www.cut-the-knot.org/Curriculum/Combinatorics/JohnsonTrotter.shtml Johnson-Trotter Algorithm Listing All Permutations]
* [[wp:Heap's algorithm|Heap's algorithm]]
* [http://www.gutenberg.org/files/18567/18567-h/18567-h.htm#ch7] Tintinnalogia
|