Skip to content

Commit 91b342f

Browse files
committed
Time: 417 ms (52.47%) | Memory: 31.9 MB (76.19%) - LeetSync
1 parent f33d0f9 commit 91b342f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

217-contains-duplicate/contains-duplicate.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
class Solution:
22
def containsDuplicate(self, nums: List[int]) -> bool:
3-
seen = set()
43

4+
seen = set()
55
for num in nums:
66
if num in seen:
77
return True

0 commit comments

Comments
 (0)