Problem Statement
LeetCode 560. Subarray Sum Equals K
Given an integer array nums and an integer k, return the total number of continuous subarrays whose sum is equal to k.
Example:
Input: nums = [1,1,1], k = 2
Output: 2 (subarrays [1,1] at indice...