Question d’entretien chez N26

Java program to find first pair from array whose sum is given the target number