Skip to content

Commit f297013

Browse files
committed
add comment on longest-consecutive-sequence
1 parent 844a96d commit f297013

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

longest-consecutive-sequence/dylan-jung.cpp

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
// TC: O(N), SC: O(N)
2+
13
class Solution {
24
public:
35
int longestConsecutive(vector<int>& nums) {

0 commit comments

Comments
 (0)