Find all distinct triplets that sum to zero
Filed under BuyHatke
The question
The online round included finding all distinct triplets in an array whose sum is zero.
No write-up yet. Related questions below have one.
Related BuyHatke questions
Collected from public candidate posts and coding forums. Updated Nov 2026.