Medline Industries interview question

Check if pair with given Sum exists in Array (Two Sum)