Pregunta de entrevista de Finomena

find two numbers with the given sum in an array?