Pergunta de entrevista da empresa Motive

I was asked the Three sum problem in video call problem solving session