From 7261393e062bbf10f1f219f511f50cf5de2a0263 Mon Sep 17 00:00:00 2001 From: Matthew Kwan <88407866+ksfkwan@users.noreply.github.com> Date: Sun, 28 Dec 2025 12:18:37 +0000 Subject: [PATCH] Conform the function name in 0001-two-sum.py to PEP 8 --- python/0001-two-sum.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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):