Skip to content

Commit ba12a75

Browse files
authored
Update 673-Number-of-Longest-Increasing-Subsequence.py
1 parent a459aae commit ba12a75

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

673-Number-of-Longest-Increasing-Subsequence.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ def dfs(i):
3232
dp = {} # key = index, value = [length of LIS, count]
3333
lenLIS, res = 0, 0 # length of LIS, count of LIS
3434

35-
# i = start of subseq, j = end of subseq
35+
# i = start of subseq
3636
for i in range(len(nums) - 1, -1, -1):
3737
maxLen, maxCnt = 1, 1 # len, cnt of LIS start from i
3838

0 commit comments

Comments
 (0)