Pregunta de entrevista de BlazeSoft

Two sum algorithm question. Can be found in Leetcode.