DIY: Maximal rectangle

Solve the interview question "Maximal rectangle" in this lesson.

Problem statement

Given an m x n binary matrix containing 0's and 1's. Find the largest rectangle containing only ...

Access this course and 1400+ top-rated courses and projects.