LeetCode

Sum of Subarray Minimums

Click here for an explanation.