Skip to content

Commit ded9c1a

Browse files
committed
Runtime: 416 ms (Top 5.00%) | Memory: 15.4 MB (Top 49.36%)
1 parent ec37c9d commit ded9c1a

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

scripts/algorithms/L/Longest Continuous Increasing Subsequence/Longest Continuous Increasing Subsequence.py

+3-1
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
# Runtime: 416 ms (Top 5.00%) | Memory: 15.4 MB (Top 49.36%)
2+
13
class Solution:
24
def findLengthOfLCIS(self, nums: List[int]) -> int:
35
count=0
@@ -11,4 +13,4 @@ def findLengthOfLCIS(self, nums: List[int]) -> int:
1113
else:
1214
break
1315
count=max(count, c)
14-
return count
16+
return count

0 commit comments

Comments
 (0)