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 ce305d8 commit b064d08Copy full SHA for b064d08
contains-duplicate/HYUNAHKO.py
@@ -0,0 +1,10 @@
1
+class Solution:
2
+ def containsDuplicate(self, nums: List[int]) -> bool:
3
+ if len(nums) >= 1 and len(nums) <= 100000:
4
+ for i in range(0, len(nums)):
5
+ src = nums[i]
6
+ for j in range(i+1, len(nums)):
7
+ if src == nums[j]:
8
+ return True
9
+ return False
10
0 commit comments