Given an array of integers nums and an integer k, determine the total number of subarrays whose sum is exactly equal to k.
nums
k
Note: A subarray is a contiguous, non empty sequence of elements within an array.
Constraints:
1≤1 \leq1≤ nums.length ≤2×104\leq 2 \times 10^4≤2×104
nums.length
−1000≤-1000 \leq ...