← DSA practice

3Sum

MediumTwo Pointers

The problem

Find all unique triplets in an array that sum to zero.

Full statement, examples and constraints: see the original problem link below.

Solve it on LeetCode