Pergunta de entrevista da empresa Neal Analytics

write a function find two numbers within an array that add up to a given value