Amazon logoAmazon
CodingMembers

Number of Islands with Max-Area and Streaming-Rows Follow-Ups

Members only

Count 4-directionally connected islands of 1s in a binary matrix (LC 200), then return the largest island area (LC 695). Follow-up: the matrix arrives one row at a time as a stream — maintain the coun...

SWE
grid
bfs
dfs
union-find
streaming
medium
Frequency
Low
Last asked
2026-10-03
Stage
onsite-coding

Log in to continue reading the full content

Comments

Sign in to join the discussion
Loading...