Unable to get the dp tranisitions for the problem

Not able to get the dp transitions for the problem.

Hey @zanj0
You can think of this like breaking the rectangle in smaller rectangles
And when the rectangle consists of only black cells then return count of cells
Else keep on dividing the rectangle

Got it. Thanks. Marked as resolved.

1 Like