Question:
https://leetcode.com/problems/subarray-sum-equals-k/
Follow-up:
Find the maximum number of non-overlapping subarrays whose sum equals to k.
Example 1:
Input: nums = [1, 1, 1], k = 2
Output: 1Example 2:
Input: nums = [0, 0, 0, 0, 0], k = 0
Output: 5