Fundamentals
/
Subarray Sum Divisible by K
⏸
00:00
↻
← Prev
Next →
▶
Question
Given an array of integers and an integer k, return the count of (non-empty) contiguous subarrays whose sum is divisible by k.
▶
Understand
▶
Approach
▶
My Code
▶
Reference Solution
Compare
23