Question d’entretien chez New York Life

They asked to find the maximum product subarray question from leetcode.