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 7c26d77 commit 124f26aCopy full SHA for 124f26a
contains-duplicate/prograsshopper.py
@@ -0,0 +1,3 @@
1
+class Solution:
2
+ def containsDuplicate(self, nums: List[int]) -> bool:
3
+ return len(set(nums)) != len(nums)
0 commit comments