Domanda di colloquio di Dedalus

Two sums javascript. Can be found on leetcode