Sunday, July 19, 2015

Leetcode: maximal rectangle

July 19, 2015

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


http://www.aiuxian.com/article/p-389634.html

http://www.cnblogs.com/lichen782/p/leetcode_maximal_rectangle.html

Fully understand the problem and solution, and then, spend some time to convert java code to C# code; and then, play with code, and see if I can improve the code.



No comments:

Post a Comment