Try to solve the Maximum Product Subarray problem.
We'll cover the following
Statement
Given an integer array, nums
, find a subarray that has the largest product, and return the product.
Constraints:
nums.length
nums[i]
The product of any prefix or suffix ofÂ
nums
 is guaranteed to fit in a integer.