Pregunta de entrevista de Arm

Leetcode TwoSum problem, asked to solve on notepad