Maximum Subarray With Equal Products Method