← Intuit questions

Find size of largest island in binary matrix

Filed under Intuit

Given an m x n binary matrix grid where 1 represents land and 0 represents water, return the area of the largest 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 Intuit questions

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