Pergunta de entrevista da empresa Agoda

Three sum algorithm question for coding