Available question text
Given a rectangular grid with exactly one island of orthogonally connected land cells, compute the island's perimeter by summing the edges of land cells that are adjacent to water or the grid boundary (equivalently use 4*land_cells - 2*shared_edges). Grid dimensions ≤100 and connections are only horizontal/vertical.
Related questions
Continue with questions that share topics or the same question type.
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
Google
Leetcode 463. Island Perimeter
Reported Oct 3, 2024 · 1 source report
JUNIOR
Source snapshot: Nov 12, 2026
View source