Pergunta de entrevista da empresa Quikr India

find pair in array whose difference is given number.