Pergunta de entrevista da empresa BlazeSoft

Two sum algorithm question. Can be found in Leetcode.