← Amazon questions
CodingMedium

Max area of island

Filed under Amazon · Also reported at Disney+ Hotstar, EagleView, KLA, OYO, Persistent

You are given an m x n binary matrix grid. An island is a group of 1's (representing land) connected 4-directionally. Return the maximum area of an island in grid. If there is no island, return 0.

You've read your 3 free write-ups

Sign up free to keep reading. Your account opens the first 10 questions of every company.

Related Amazon questions

Collected from public candidate posts and coding forums. Updated Nov 2026.