MetaCodingMembers
Number of Islands API Variant
Members only
Given a binary grid, implement `isSizeExist(int size)` to answer whether any island has exactly the requested area. Precompute complete component sizes once, then answer each query from the resulting ...
SWE
dfs
grid
set
api-design
medium
Frequency
Single report
Last asked
2026-08-16
Stage
onsite-coding
Log in to continue reading the full content
Comments
Sign in to join the discussion
Loading...
