Ascendion Interview Question

Find all numbers that sum to a given number in an array, O(n)