Pregunta de entrevista de Allocadia Software

output the values whenever two numbers in an array equal a target number