Practice
/

Maximal Rectangle

Maximal Rectangle

Given a 2D binary matrix filled with '0's and '1's, find the area of the largest rectangle containing only '1's.

Premium Content

Create a free account, then unlock this problem and the entire premium catalog with a one-time CodeSnatch Premium purchase.

Already have an account with premium access? Sign in to continue.