Permutations: Difference between revisions

Content added Content deleted
(→‎{{header|C}}: some housekeeping)
(→‎{{header|C}}: some housekeeping)
Line 1,124: Line 1,124:
</lang>
</lang>


=={{header|C}}==
===version 2===
Non-recursive algorithm to generate all permutations. It prints them from right to left.
Non-recursive algorithm to generate all permutations. It prints them from right to left.
<lang c>
<lang c>