We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 53ce7c7 commit 36ffeddCopy full SHA for 36ffedd
contains-duplicate/hyogshin.py
@@ -0,0 +1,7 @@
1
+class Solution:
2
+ def containsDuplicate(self, nums: List[int]) -> bool:
3
+ if len(nums) == len(set(nums)):
4
+ return False
5
+ else:
6
+ return True
7
+
0 commit comments