Pergunta de entrevista da empresa Goldman Sachs

Find max product of subarray for the given integer array.