diff --git "a/docs/post/2024-nian-9-yue-14-ri-zai-lie-biao-zhong-zhao-dao-liang-ge-shu-de-he-deng-yu-mou-ge-shu-\357\274\214-shu-chu-zhe-liang-ge-shu-de-suo-yin.html" "b/docs/post/2024-nian-9-yue-14-ri-zai-lie-biao-zhong-zhao-dao-liang-ge-shu-de-he-deng-yu-mou-ge-shu-\357\274\214-shu-chu-zhe-liang-ge-shu-de-suo-yin.html" index d8e90b3..eb84189 100644 --- "a/docs/post/2024-nian-9-yue-14-ri-zai-lie-biao-zhong-zhao-dao-liang-ge-shu-de-he-deng-yu-mou-ge-shu-\357\274\214-shu-chu-zhe-liang-ge-shu-de-suo-yin.html" +++ "b/docs/post/2024-nian-9-yue-14-ri-zai-lie-biao-zhong-zhao-dao-liang-ge-shu-de-he-deng-yu-mou-ge-shu-\357\274\214-shu-chu-zhe-liang-ge-shu-de-suo-yin.html" @@ -102,7 +102,7 @@

2024年9月14日在列表中找到两个数的和等于某
class Solution:
-    def twoSum(self, nums: List[int], target: int) -> List[int]:
+    def twoSum(self, nums: List[int], target: int) -> List[int]:
          hash_map = {}
         for i, num in enumerate(nums):
             complement = target - num  # 计算目标值需要的差值