Your Dashboard
Interview Coaching
Learn
System Design
ML System Design
Code
Behavioral
Salary Negotiation
Interview Guides
Search
⌘K
Get Premium
Leetcode 695. Max Area of Island
Given an m×n binary grid, find the maximum area (number of cells) of a 4-directionally connected component of 1s (an island), returning 0 if none exist. This is a standard grid connected-components / flood-fill problem (solvable with DFS/BFS/Union-Find) with m,n ≤ 50.
Asked at:
Amazon
Question Timeline
See when this question was last asked and where, including any notes left by other candidates.
All Regions
Early October, 2025
Senior
Mid December, 2024
Amazon
Mid-level
Find the max area of an island with a given starting point and obstacles that cannot be passed
Comments
Hello Interview Premium
Your account is free and you can post anonymously if you choose.