HomeTom - CS
Thursday, April 8, 2010
The Maximal Rectangle Problem
Given a n*m matrix of 1 and 0, find 1) the max square submatrix of all 1s, 2) the max rectangle matrix of all 1s.
1) is easy, see
here
. The code here needs a little correction, see
here
.
2) is hard, see
here
.
1 comment:
SMK
February 7, 2013 at 9:25 PM
sir, can you please provide me with an implementation of the same in java
Reply
Delete
Replies
Reply
Add comment
Load more...
‹
›
Home
View web version
sir, can you please provide me with an implementation of the same in java
ReplyDelete