Skip to content
Avio Lines
← Arrays lineD1Stop 34 of 271

Subarray Sums Divisible by K (LeetCode 974)

MediumLeetCode 974 · Prefix Sum · Google, Amazon +8 · 35:53Subarray Sums Divisible by K · Brute Force · Optimal · Easy Explanation
MIK's code LeetCode ↗ YouTube ↗

My notes

Sign in to keep private notes on every station, with video timestamps.

Try it before watching

Pause here and write your approach in two lines. Compare it with MIK's when the video ends.

Sign in to write your approach →

About this video

Video solution for LeetCode 974 Subarray Sums Divisible by K by codestorywithMIK: Arrays, Medium. Topics: Array, Hash Table, Prefix Sum. Watch the explanation, then check the code and solve it on LeetCode.

Difficulty
medium
Topics
Array, Hash Table, Prefix Sum
Patterns
Prefix Sum, Hashing
Chapter
Arrays
Duration
35:53