Domanda di colloquio di Andela

I was asked 2 sum Leetcode problem