Fade to Solo
Graphs (BFS/DFS)

Max Area of Island

10 MINMleetcode ↗

Problem

Same grid-of-land-and-water setup as counting islands, but instead of counting islands, return the area (cell count) of the largest one. Return 0 if there's no land at all.

10 MIN00:00unlocks in 10:00
locked10:00 left