Neal Analytics interview question

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