We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 50815a3 commit 5bf7184Copy full SHA for 5bf7184
easy/ContainsDuplicate.java
@@ -1 +1,4 @@
1
-
+//217. Contains Duplicate
2
+class Solution:
3
+ def containsDuplicate(self, nums: List[int]) -> bool:
4
+ return len(nums) != len(set(nums))
0 commit comments