Sum Of Subarray Minimums Leetcode Two