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 abfd7d9 commit e7839d5Copy full SHA for e7839d5
two-sum/paran22.py
@@ -6,4 +6,5 @@ def twoSum(self, nums: List[int], target: int) -> List[int]:
6
for i, first_num in enumerate(nums):
7
second_num = target - first_num
8
if second_num in num_dict and num_dict[second_num] != i:
9
- return [i, num_dict[second_num]]
+ return [i, num_dict[second_num]]
10
+
0 commit comments