Sorting algorithms/Quicksort: Difference between revisions
Content deleted Content added
Added Perl version. |
m →{{header|Perl}}: Add example. |
||
Line 292:
}
}
print join(' ', @{quick_sort([4, 65, 2, -31, 0, 99, 83, 782, 1])}), "\n";
Output:
-31 0 1 2 4 65 83 99 782
=={{header|Python}}==
|