</>OfferRetriever
DashboardDiscuss
NEW

Spring Hire Sale

Limited Time Deal: Unlock all premium questions for over 30% off

$10.42$7.08

08

:

04

:

48

:

40

Get this deal
Back to Dashboard

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:

  1. Area: the number of land cells in the island. ...