0016. 3Sum Closest
Description
**Input:** nums = [-1,2,1,-4], target = 1
**Output:** 2
**Explanation:** The sum that is closest to the target is 2. (-1 + 2 + 1 = 2).**Input:** nums = [0,0,0], target = 1
**Output:** 0ac
Last updated
**Input:** nums = [-1,2,1,-4], target = 1
**Output:** 2
**Explanation:** The sum that is closest to the target is 2. (-1 + 2 + 1 = 2).**Input:** nums = [0,0,0], target = 1
**Output:** 0Last updated