diff --git a/python/0001-two-sum.py b/python/0001-two-sum.py index e3eb994d3..d949612c5 100644 --- a/python/0001-two-sum.py +++ b/python/0001-two-sum.py @@ -1,5 +1,5 @@ class Solution: - def twoSum(self, nums: List[int], target: int) -> List[int]: + def two_Sum(self, nums: List[int], target: int) -> List[int]: prevMap = {} # val -> index for i, n in enumerate(nums):