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 13e4f2d commit 3175252Copy full SHA for 3175252
longest-consecutive-sequence/Leo.py
@@ -14,3 +14,5 @@ def longestConsecutive(self, nums: List[int]) -> int:
14
longest = max(length, longest)
15
16
return longest
17
+
18
+ ## TC: O(n), SC: O(n)
0 commit comments