Given a matrix of order M x N containing 1.s and 0's, you have to find the 
number of maximal squares that can be formed. A square is formed by 
grouping adjacent cells containing 1. A maximal square is one that is not 
completely contained within another square. Maximal squares that overlap 
partially are to be counted separately. Unit squares (length of side = 1) 
should be also counted. Note that squares are filled, i.e. they cannot 
contain 0.s.

-- 
You received this message because you are subscribed to the Google Groups 
"Algorithm Geeks" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to algogeeks+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to