Maximum Product Subarray-Time Limit Exceeded