Permutations: Difference between revisions
Content added Content deleted
PatGarrett (talk | contribs) (→{{header|C}}: remove spam link) |
|||
Line 1,126: | Line 1,126: | ||
=={{header|C}}== |
=={{header|C}}== |
||
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. |
||
See a full paper here: |
|||
[https://habrahabr.ru/post/330690/] |
|||
<lang c> |
<lang c> |
||