Number of Distinct Islands
Try to solve the Number of Distinct Islands problem.
We'll cover the following
Statement
Given an m x n
binary matrix where
Constraints:
m
==grid.length
n
==grid[i].length
m
,n
grid[i][j]
is eitheror .
Examples
Level up your interview prep. Join Educative to access 70+ hands-on prep courses.