Maximum Subarray Product Leetcode Javascript Practice Exercises