American Express interview question

Find the maximum product subarray.