Quikr India interview question

find pair in array whose difference is given number.