Snapdeal interview question

Find whether a pair exists in a given array whose sum is equal to a given number