Domanda di colloquio di Amazon

Two sum, same as no.1 on leetcode