Maximum Score From Subarray Minimums Leetcode Contest