Given an array of integers nums, return the total number of subarrays where the product of all elements is an even number.
A subarray is a contiguous non empty sequence of elements within an array.
Constraints:
nums.length
nums[i]
Given an array of integers nums, return the total number of subarrays where the product of all elements is an even number.
A subarray is a contiguous non empty sequence of elements within an array.
Constraints:
nums.length
nums[i]