Find all unique triplets that sum to zero. Sort the array, fix one element, then use two pointers on the rest. Carefully skip duplicates.
// tap NEXT STEP to walk through one step at a time