Directi
1 DSA problems asked in Directi coding interviews
1 problem
Given an array of integers `arr`, return the number of subarrays with an odd sum. Since the answer can be very large, return it modulo $10^9 + 7$.