Pergunta de entrevista da empresa Cloudera

How would you find two numbers that add to a sum in an array?