Question d’entretien chez Goldman Sachs

Find max product of subarray for the given integer array.