Longest increasing subsequence: Difference between revisions

m
Remove unnecessary hidden comments
m (→‎Dynamic programming: Fix link: Perl 6 --> Raku)
m (Remove unnecessary hidden comments)
Line 1,956:
=={{header|Raku}}==
(formerly Perl 6)
{{works with|rakudoRakudo|2018.03}}
===<!--Perl 6-->Dynamic programming===
Straight-forward implementation of the algorithm described in the video.
Line 1,980:
[0 2 6 9 11 15]</pre>
 
===<!--Perl 6-->Patience sorting===
<lang perl6>sub lis(@deck is copy) {
my @S = [@deck.shift() => Nil].item;
10,327

edits