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 7863575 commit 4914619Copy full SHA for 4914619
two-sum/yayyz.py
@@ -5,4 +5,4 @@ def twoSum(self, nums: List[int], target: int) -> List[int]:
5
complement = target - num
6
if complement in hashmap:
7
return [hashmap[complement], i]
8
- hashmap[num] = i
+ hashmap[num] = i
0 commit comments