Splunk interview question

Find the max sum in the array.