Zoom Communications Interview Question

Given an Array of numbers, process the array and return sums based on the question they ask.