Quikr India Interview Question

find pair in array whose difference is given number.