From 083918db7a4dc9f599dbbd84e29b63349f54a4a2 Mon Sep 17 00:00:00 2001 From: Chen-Wang-JY <75002576+Chen-Wang-JY@users.noreply.github.com> Date: Fri, 21 May 2021 17:14:12 +0800 Subject: [PATCH] =?UTF-8?q?Update=200015.=E4=B8=89=E6=95=B0=E4=B9=8B?= =?UTF-8?q?=E5=92=8C.md?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 添加了Python的双指针法 --- problems/0015.三数之和.md | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/problems/0015.三数之和.md b/problems/0015.三数之和.md index 9875f037..390ce864 100644 --- a/problems/0015.三数之和.md +++ b/problems/0015.三数之和.md @@ -218,7 +218,8 @@ class Solution { ``` Python: -```class Solution: +```Python +class Solution: def threeSum(self, nums): ans = [] n = len(nums)