LeetCode
Maximum Size Subarray Sum Equals k
Click
here
for an explanation.