Update 0015.三数之和.md

添加了Python的双指针法
This commit is contained in:
Chen-Wang-JY
2021-05-21 17:14:12 +08:00
committed by GitHub
parent 472b57a40e
commit 083918db7a

View File

@ -218,7 +218,8 @@ class Solution {
``` ```
Python Python
```class Solution: ```Python
class Solution:
def threeSum(self, nums): def threeSum(self, nums):
ans = [] ans = []
n = len(nums) n = len(nums)