Find all triplets with zero sum without duplicates. This is the 3Sum problem on LeetCode.