Pregunta de entrevista de Digital Turbine

3sum problem, with complexity limitations