Pergunta de entrevista da empresa EPAM Systems

Two sum and three sum problems