Pergunta de entrevista da empresa Amazon

Coding question: Find a pair which results to a difference of integer n from a given array