Pergunta de entrevista da empresa N26

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