Pregunta de entrevista de Stealth Startup

Variation of Three Sum but easier