top of page


974. Subarray Sums Divisible by K - LeetCode Fastest Solution
Given an array nums and an integer k, return the number of non-empty subarrays that have a sum divisible by k. A subarray is a contiguous

Ashwin Shirva
Feb 66 min read
Â
Â
Â
bottom of page
