Skip to content

Commit 455989c

Browse files
committed
Runtime: 714 ms (Top 44.74%) | Memory: 26.1 MB (Top 5.18%)
1 parent bc4056e commit 455989c

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
# Runtime: 714 ms (Top 44.74%) | Memory: 26.1 MB (Top 5.18%)
2+
13
class Solution:
24
def containsDuplicate(self, nums: List[int]) -> bool:
3-
return len(nums) != len(set(nums))
5+
return len(nums) != len(set(nums))

0 commit comments

Comments
 (0)