Pergunta de entrevista da empresa American Express

Q: Two sum question from leetcode