Maximum Subarray With Equal Products Leetcode