Maximum Subarray Min Product Leetcode Python Practice