Question d’entretien chez Zubi.io

How to find triplets in the array whose sum is zero (DSA question)

Réponse à la question d'entretien

Utilisateur anonyme

30 sept. 2020

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.