Back to Questions

Maximal Square

91.5K viewsAsked at Adobe
Medium

Question Explain

Given an $m \times n$ binary matrix, find the largest square containing only 1's and return its area. Use Dynamic Programming.

Start Trying This Question Simulation

Practice answering orally or with text to get instant AI feedback.

Practice with This Question
Maximal Square - Interview Question