Sorting algorithms/Permutation sort: Difference between revisions

markup messup
(CL code)
(markup messup)
Line 92:
do (return permutation)))</pre>
 
<pre>CL-USER> (time (permutation-sort #'> '(8 3 10 6 1 9 7 2 5 4)))
Evaluation took:
5.292 seconds of real time
Line 101:
611,094,240 bytes consed
(1 2 3 4 5 6 7 8 9 10)</pre>
 
=={{header|C++}}==
Anonymous user