原题链接15. 3s m given an array n ms of n integers, are there elements a, b, c in n ms s ch that a + b + c = 0? find all niq e triplets in the array which gives the s m of zero. note: the sol tion set m st not contain d plicate triplets. example: given array n ms = [-1, 0, 1, 2, -1, -4], a sol tion set is: [ [-1, 0, 1], [-1, -1, 2] ] 解题思路:转化为n个2s m问题 f nc threes m(n ms []int) [][]int { var res [][]int sort.ints(n ms) lg := len(n ms) for i := 0; i  lg-2;