Anonymous user
Sorting algorithms/Quicksort: Difference between revisions
Joy
(Added more discussion and a pseudocode description.) |
(Joy) |
||
Line 189:
IDL> print,qs([3,17,-5,12,99])
-5 3 12 17 99
=={{header|Joy}}==
DEFINE qsort ==
[small]
[]
[uncons [>] split]
[[swap] dip cons concat]
binrec .
=={{header|MAXScript}}==
|