mirror of
https://github.com/youngyangyang04/leetcode-master.git
synced 2025-07-09 19:44:45 +08:00
Update 0015.三数之和.md
添加了Python的双指针法
This commit is contained in:
@ -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)
|
||||||
|
Reference in New Issue
Block a user