Domanda di colloquio di Arm

Leetcode TwoSum problem, asked to solve on notepad