Permutations/Rank of a permutation: Difference between revisions
Permutations/Rank of a permutation (view source)
Revision as of 07:54, 29 October 2017
, 6 years ago→{{header|Ring}}
m (→{{header|REXX}}: added/changed comments and whitespace, used a template for output, changed wording in the REXX section header, changed program to also show a particular permutation rank.) |
|||
Line 1,564:
a[first] = a[last]
a[last] = temp
first
last
end
</lang>
|