You are given an mat.
Find two non overlapping square submatrices of equal side length containing only
Note: Two square submatrices are non overlapping if they do not share any common cells.
Constraints:
mat.length
mat[i].length
mat[i][j] is either
You are given an mat.
Find two non overlapping square submatrices of equal side length containing only
Note: Two square submatrices are non overlapping if they do not share any common cells.
Constraints:
mat.length
mat[i].length
mat[i][j] is either