Amazon interview question

max product of a sub array