Longest increasing subsequence: Difference between revisions

Content added Content deleted
m (Better as ref?)
(→‎{{header|Python}}: Add sub-heading: Python: Method from video)
Line 58: Line 58:


=={{header|Python}}==
=={{header|Python}}==
===Python: Method from video===
<lang python>def longest_increasing_subsequence(d):
<lang python>def longest_increasing_subsequence(d):
'Return one of the L.I.S. of list d'
'Return one of the L.I.S. of list d'