Maximum Subarray Sum In An Array Do The Groups