Question d’entretien chez Snapdeal

Find whether a pair exists in a given array whose sum is equal to a given number