Longest increasing subsequence: Difference between revisions
m
→Patience sorting: no need for Int conversion (was used during debugging)
(→Patience sorting: // instead of ternaries) |
m (→Patience sorting: no need for Int conversion (was used during debugging)) |
||
Line 279:
say lis patience(<3 2 6 4 5 1>);
say lis patience(<0 8 4 12 2 10 6 14 1 9 5 13 3 11 7 15>
</lang>
{{out}}
|