Pregunta de entrevista de Microsoft

Got asked two-sum for the leetcode question.