Given an array of positive integers nums.
A subarray of nums is defined as product equivalent if the product of all its elements is equal to the product of the greatest common divisor (
Return the maximum length of a product equivalent subarray of nums.
Constraints:
nums.length
nums[i]
Given an array of positive integers nums.
A subarray of nums is defined as product equivalent if the product of all its elements is equal to the product of the greatest common divisor (
Return the maximum length of a product equivalent subarray of nums.
Constraints:
nums.length
nums[i]