Microsoft | OA | 2 Largest square in binary matrix
Anonymous User
819

Given an m x n binary matrix filled with 0's and 1's, find the two largest square containing only 1's and return its area.
The squares should be of same size and can not share cells.

Comments (3)