Maximum Subarray Min Product Leetcode Javascript Questions Exercises