Amazon Interview Question

Find all possible sums within an array of 10 elements