Maximum Subarray Problem Leetcode Ratings