Maximal Rectangle

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

Login to see Answer and Coaching Session More interview questions