Sorting algorithms/Quicksort: Difference between revisions
m
→{{header|Joy}}
m (→{{header|Joy}}) |
|||
Line 5,054:
=={{header|Joy}}==
<syntaxhightlight lang=Joy>
DEFINE qsort ==
[small] # termination condition: 0 or 1 element
Line 5,061:
[enconcat] # insert the pivot after the recursion
binrec. # recursion on the two lists
</syntaxhighlight>
=={{header|jq}}==
|