Finomena interview question

find two numbers with the given sum in an array?