We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2bdd28c commit 5d3200bCopy full SHA for 5d3200b
src/chapter19dynamicprogramming/LongestIncreasingSubSeq.py
@@ -9,6 +9,7 @@
9
# merchantability or fitness for a particular purpose.
10
11
def LongestIncreasingSequence(numList):
12
+ n = len(numList)
13
LISTable = [1]
14
for i in range(1, len(numList))):
15
LISTable.append(1)
0 commit comments