Sorting algorithms/Patience sort: Difference between revisions
→A patience sort for non-linear lists of integers, guaranteeing a sorted result
Line 1,127:
===A patience sort for non-linear lists of integers, guaranteeing a sorted result===
This implementation borrows code from a
The mergesort proves the result has the same length as the original, but this patience sort does not.
<lang ats>//--------------------------------------------------------------------
|