Given an array of integers arr, return the total number of subarrays with an odd sum.
Since the answer can be large, return it modulo
Constraints:
arr.length
arr[i]
Given an array of integers arr, return the total number of subarrays with an odd sum.
Since the answer can be large, return it modulo
Constraints:
arr.length
arr[i]