Pergunta de entrevista da empresa ServiceNow

leetcode easy. Something along the lines of two sum