Solution: Number of Distinct Islands
Let’s solve the Number of Distinct Islands problem using the Hash Maps pattern.
We'll cover the following...
Statement
Given an m x n binary matrix where
Ask
Let’s solve the Number of Distinct Islands problem using the Hash Maps pattern.
Given an m x n binary matrix where