Permutations: Difference between revisions

Content added Content deleted
(→‎{{header|C}}: remove spam link)
(→‎{{header|C}}: some housekeeping)
Line 1,065: Line 1,065:


=={{header|C}}==
=={{header|C}}==
===version 1===
Non-recursive algorithm to generate all permutations. It prints objects in lexicographical order.
Non-recursive algorithm to generate all permutations. It prints objects in lexicographical order.
<lang c>
<lang c>