Pregunta de entrevista de Qualcomm

The two sum problem from Leetcode.