Maximum Subarray Product Leetcode Javascript Practice Questions