Maximum Score From Subarray Minimums Leetcode 1508