Maximum Subarray Product Leetcode Javascript Practice Games