← Google questions
CodingReported in a candidate post, Nov 2020

Find building space in a rectangular city map

Filed under Google

Given a rectangular city map represented as a 2D grid containing buildings and parks, determine if there is enough contiguous space of size m x n to fit a new building.

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.