Maximum Subarray Problem Leetcode Rating