Skip to content

Commit db2a084

Browse files
committed
feat: solution
1 parent ce305d8 commit db2a084

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

contains-duplicate/jun-brro.py

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

0 commit comments

Comments
 (0)