How to find all unique triplets whose sum is zero in O(n^2) time

So if our answer includes {1,2,-3) then none of the combinations of those can be in our answer

Comments (1)