How to find triplets in the array whose sum is zero (DSA question)
Anonimo
First I gave the brute force approach and sir asked whether I can give an optimised solution, and then I said the two-pointer method. Later he asked me what are the time and space complexities of both the solutions.