摘要: 双指针法 思路: 参考三数之和,在外面多嵌套一层 代码: class Solution: def fourSum(self, nums: List[int], target: int) -> List[List[int]]: if len(nums) < 4: return [] output = 阅读全文
posted @ 2020-04-30 12:12 nil_f 阅读(133) 评论(0) 推荐(0)