</>OfferRetriever
DashboardDiscuss
NEW
Halloween SalePremium questions, over 30% offUnlock all premium questions for over 30% off
$10.42$7.08/mo

--

:

--

:

--

:

--

Get this deal
Back to Google Questions

Largest Island Perimeter

Medium

You are given an m x n binary grid where each cell is either '1' (land) or '0' (water). A group of connected land cells (connected horizontally or vertically, not diagonally) forms an island. Each land cell contributes to its island's perimeter for every edge that borders water or the grid boundary.

Return the maximum perimeter among all islands in the grid. If there are no islands, return 0. ...

Asked at:GoogleSnapchat

More Google interview questions

All Google interview questions
OfferRetriever

Master technical interviews with real questions from top companies. Build your confidence and career.

PRODUCT
PricingDashboardDiscussOfferRetriever vs LeetCodeCompare
LEGAL

© 2026 Purple Business Holdings LLC. All rights reserved. See Terms of Service.