Maximum Subarray Min Product Leetcode Python Solutions