Jump to content

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://stackoverflow.com/a/29044942/10562 Correction to] Heap's algorithm as presented in Wikipedia and widely distributed.
* [http://www.gutenberg.org/files/18567/18567-h/18567-h.htm#ch7] Tintinnalogia
 
1,777

edits

Cookies help us deliver our services. By using our services, you agree to our use of cookies.