1p3a Question · Nov 2025 · USA

Maximal Square and Rectangle in Binary Matrix

Question Details

Problem Requirements You are given a grid (matrix) filled with 0s and 1s. Your task is to find the largest square made entirely of 1s and return its area. After you solve this, the interv

Full Details

🔒

Unlock all Databricks questions

Full insider details, leaked discussions, and candidate experiences.

or every company, $100/year →

About This Question

This is a reported interview question from a databricks interview for a swe role reported in 2025.

It covers the following topics: Array, Matrix, Dynamic Programming, Stack, Dynamic Programming, Arrays, Stack .

Difficulty rating: Easy