Pergunta de entrevista da empresa AppsFlyer

two sum & three sum code problems.