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