Input: Array and range [lower, upper].
Output: Count of subarray sums within range.
Example: Count subarrays with sum in .
Constraints: nums.length . lower upper .
The problem
Input: Array and range [lower, upper].
Output: Count of subarray sums within range.
Example: Count subarrays with sum in .
Constraints: nums.length . lower upper .