Anonymous user
Sorting algorithms/Quicksort: Difference between revisions
m
→{{header|Nim}}: Change comparison to system.cmp
m (→{{header|Nim}}: Omit new line) |
m (→{{header|Nim}}: Change comparison to system.cmp) |
||
Line 5,170:
var right = stop
while left <= right:
while cmp(a[left], pivot) <
inc(left)
while cmp(a[right], pivot) >
dec(right)
if left <= right:
|