Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                
Skip to content

Commit d773f19

Browse files
adds time/space data
1 parent 2e8da12 commit d773f19

File tree

2 files changed

+6
-0
lines changed

2 files changed

+6
-0
lines changed

src/ContainsDuplicate.java

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
// https://leetcode.com/problems/contains-duplicate
2+
// T: O(N)
3+
// S: O(N)
4+
15
import java.util.HashSet;
26
import java.util.Set;
37

src/TwoSum.java

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,6 @@
11
// https://leetcode.com/problems/two-sum/
2+
// T: O(N)
3+
// S: O(N)
24

35
import java.util.Arrays;
46
import java.util.HashMap;

0 commit comments

Comments
 (0)