Domanda di colloquio di American Express

Q: Two sum question from leetcode