摘要: 问题描述 给定一个包含 n 个整数的数组 ,判断 中是否存在三个元素 a,b,c , 使得 a + b + c = 0 ?找出所有满足条件且不重复的三元组。 注意: 答案中不可以包含重复的三元组。 解决方案 python class Solution: def threeSum(self, nums 阅读全文
posted @ 2019-02-21 20:54 YanceDev 阅读(273) 评论(0) 推荐(0) 编辑