Sum Of Subarray Maximums Leetcode Solutions With Explanation