LeetCode
Subarray Sums Divisible by K
Click
here
for an explanation.