Maximum Subarray Min Product Leetcode Problem