Skip to content

Commit c4c9ced

Browse files
committed
Sync LeetCode submission Runtime - 4 ms (43.60%), Memory - 19.2 MB (6.86%)
1 parent 9e13250 commit c4c9ced

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

0001-two-sum/solution.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55

66
class Solution:
77
def twoSum(self, nums: List[int], target: int) -> List[int]:
8-
hashmap = dict() # value: index
8+
hashmap = dict() # {value: index}
99

1010
for i, num in enumerate(nums):
1111
complement = target - num

0 commit comments

Comments
 (0)