Domanda di colloquio di SelfEmployed.com

Two Sum coding question for the technical part