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 ab85227 commit 8c1043eCopy full SHA for 8c1043e
two-sum/dusunax.py
@@ -30,4 +30,4 @@ def twoSum(self, nums: List[int], target: int) -> List[int]:
30
pairNum = target - nums[i]
31
if pairNum in map:
32
return [map.get(pairNum), i]
33
- map[nums[i]] = i
+ map[nums[i]] = i
0 commit comments