Skip to content

Commit b064d99

Browse files
committed
contains-duplicate solution
1 parent f291ae8 commit b064d99

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

contains-duplicate/ayleeee.py

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
class Solution:
2+
def containsDuplicate(self, nums: List[int]) -> bool:
3+
return len(set(nums))!=len(nums)
4+

0 commit comments

Comments
 (0)