Maximum Subarray Min Product Leetcode Problems On Loops