Pergunta de entrevista da empresa Espressif

Given a target sum and an array, find two integers in array which add up to given target.