Skip to content

Commit f10b34d

Browse files
committed
update: time, space complextity
1 parent 052d112 commit f10b34d

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

contains-duplicate/Raft.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,4 +7,6 @@ def containsDuplicate(self, nums: List[int]) -> bool:
77
appeared[n] += 1
88

99
return False
10+
# T: O(n)
11+
# S: O(n)
1012

0 commit comments

Comments
 (0)