← Intuit questions
CodingReported in a candidate post, Aug 2024

Count submatrices whose sum is divisible by k

Filed under Intuit

Given an m x n integer matrix and an integer k, count the non-empty contiguous submatrices whose elements sum to a multiple of k.

You've read your 3 free write-ups

Sign up free to keep reading. Your account opens the first 10 questions of every company.

Related Intuit questions

Collected from public candidate posts and coding forums. Updated Nov 2026.