Find the number of subarrays in an integer array that sum to k.
k
Input: nums = [1, 2, -1, 1, 2], k = 3 Output: 3