A classic sliding window problem
In this problem, we use four pointers to get no repeating tuples, two for iteration and two for shrinking the solution space.
A problem set of 3Sum problems.
In this problem, we use three pointers to get no repeating tuples, one for iteration and two for shrinking the solution space.