結果 : maximum subarray with equal products leetcode solution