Skip to content

Commit 88f0079

Browse files
committed
[:fixed] error
1 parent f6c4477 commit 88f0079

File tree

1 file changed

+0
-4
lines changed

1 file changed

+0
-4
lines changed

longest-consecutive-sequence/ppxyn1.py

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
11
# idea: -
2-
32
class Solution:
43
def longestConsecutive(self, nums: List[int]) -> int:
54
sorted_nums = sorted(list(set(nums)))
@@ -16,7 +15,4 @@ def longestConsecutive(self, nums: List[int]) -> int:
1615
ans = max(max_len, tmp)
1716
return ans
1817

19-
20-
21-
2218

0 commit comments

Comments
 (0)