Pergunta de entrevista da empresa Bloomberg

Make a function to determine whether two numbers in an array add up to a target number