Given an integer array nums, return all unique triplets [a, b, c] such that a + b + c == 0. No two triplets in the result may be the same set of values.
Deterministic output ordering (required): each triplet must be sorted in ascending order, and the overall list of triplets must be sorted lexicographically (compare the first element, then the second, then the third). Return [] if no triplet sums to zero.
[-1,0,1,2,-1,-4][0,1,1][0,0,0,0][-2,0,1,1,2][3,-2,1,0][-4,-2,-2,-2,0,1,2,2,2,3,3,4,4,6,6]