Skip to content

Commit 26166a9

Browse files
docs: 128
1 parent 281d431 commit 26166a9

File tree

1 file changed

+0
-10
lines changed

1 file changed

+0
-10
lines changed

solutions/128/01.py

Lines changed: 0 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,4 @@
11
def longestConsecutive(nums):
2-
"""
3-
Find the length of the longest consecutive elements sequence.
4-
5-
Args:
6-
nums: List[int] - Array of integers
7-
8-
Returns:
9-
int - Length of the longest consecutive sequence
10-
"""
11-
# Handle edge case
122
if not nums:
133
return 0
144

0 commit comments

Comments
 (0)