Longest increasing subsequence: Difference between revisions
m
Remove unnecessary hidden comments
SqrtNegInf (talk | contribs) m (→Dynamic programming: Fix link: Perl 6 --> Raku) |
Thundergnat (talk | contribs) m (Remove unnecessary hidden comments) |
||
Line 1,956:
=={{header|Raku}}==
(formerly Perl 6)
{{works with|
===
Straight-forward implementation of the algorithm described in the video.
Line 1,980:
[0 2 6 9 11 15]</pre>
===
<lang perl6>sub lis(@deck is copy) {
my @S = [@deck.shift() => Nil].item;
|