Pregunta de entrevista de American Express

Q: Two sum question from leetcode