Pergunta de entrevista da empresa Arm

Leetcode TwoSum problem, asked to solve on notepad