Pergunta de entrevista da empresa Google

Leetcode's two sum problem. Easy.