Sunday, December 27, 2015

85. 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.

Java Code:

No comments:

Post a Comment