Available question text
Count the number of distinct island shapes in a binary grid where two islands are considered identical if one can be translated, rotated (90/180/270°) or reflected to match the other. Extract each island’s coordinates and compare canonicalized shape signatures (normalized across all rotations/reflections) to identify unique shapes.
Related questions
Continue with questions that share topics or the same question type.
- Number of Distinct Islands
Coding · Array · Breadth-First Search · Depth-First Search
- 1. Count number of islands in matrix (Leetcode challenge)
Coding
- Count Number of Distinct Integers After Reverse Operations
Coding
- Difference of Number of Distinct Values on Diagonals
Coding
Sources · 1 reference
These records explain where the question appears. A company tag or candidate report does not guarantee a future interview question.
Hello Interview · 1 record
No company association
Leetcode 711. Number of Distinct Islands II
Reported date not specified · 0 source reports
Source snapshot: Nov 12, 2026
View source