Credgenics interview question

Find the pair in an array whose result is equal to the given target sum