Maximal Rectangle

AC Rate: 78/403
My Submissions

Given a 2D binary matrix filled with 0's and 1's, find the largest rectangle containing all ones and return its area.



Send Feedback