← Google questions
CodingReported in a candidate post, Aug 2021

Minimum over a sliding window in a 2D matrix

Filed under Google

Given a 2D matrix and a window size k, return a matrix holding the minimum value inside every k by k window as it slides over the matrix. (The report only says 'minimum within a sliding window over a…

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 Google questions

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