Jump to content

Sorting algorithms/Patience sort: Difference between revisions

Line 3,114:
iStart := TotalExternalNodes;
WHILE iStart <> 1 DO
FOR i := iStart; TO (2 * iStart) - 1 BY 2 DO
FOR i := 1 TO (2 * iStart) - 1 BY 2 DO
iWinner := PlayGame (i);
Winners[i DIV 2, 1] := Winners[iWinner, 1];
1,448

edits

Cookies help us deliver our services. By using our services, you agree to our use of cookies.