Halloween SalePremium questions, over 30% offUnlock all premium questions for over 30% off
Island Statistics
Medium
You are given an m x n binary grid where '1' is land and '0' is water. For each island (a connected group of land cells using horizontal and vertical adjacency), compute two values:
- Area: the number of land cells in the island. ...
Asked at:Snapchat
More Snapchat interview questions
- Expression Calculatorhard
- Prime Subset Productshard
- Peak Attendance Findermedium
- Parallel Task Batchingmedium
- Org Chart Buildermedium
- Unfriended Pairs Countermedium
- Largest Island Perimetermedium
OfferRetriever
Master technical interviews with real questions from top companies. Build your confidence and career.
LEGAL
© 2026 Purple Business Holdings LLC. All rights reserved. See Terms of Service.