Frage im Vorstellungsgespräch bei N26

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