Pregunta de entrevista de Workday

Determine which two numbers in an array can be added to get a target sum (Leetcode, TwoSum).