Domanda di colloquio di Zubi.io

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

Risposta di colloquio

Anonimo

30 set 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.