Domanda di colloquio di Goldman Sachs

two sum from leetcode and it was very easy.