LC: 259. 3Sum Smaller
https://leetcode.com/problems/3sum-smaller/
Input: nums = [-2,0,1,3], target = 2
Output: 2
Explanation: Because there are two triplets which sums are less than 2:
[-2,0,1]
[-2,0,3]Input: nums = [], target = 0
Output: 0Input: nums = [0], target = 0
Output: 0Last updated