Splunk Interview Question

Find the max sum in the array.