3Sum
medium 原题链接:https://leetcode.com/problems/find-minimum-in-rotated-sorted-array/submissions/
最后更新于
这有帮助吗?
medium 原题链接:https://leetcode.com/problems/find-minimum-in-rotated-sorted-array/submissions/
最后更新于
这有帮助吗?
原题链接:
Given an array
nums
of n integers, are there elements a, b, c innums
such that a + b + c = 0? Find all unique triplets in the array which gives the sum of zero.Notice that the solution set must not contain duplicate triplets.
Input: nums = [-1,0,1,2,-1,-4]
Output: [[-1,-1,2],[-1,0,1]]
0 <= nums.length <= 3000
-105 <= nums[i] <= 105