Question d’entretien chez Workday

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