Maximum Score From Subarray Minimums Leetcode