Meta logoMeta
Coding·40 minMembers

Walls and Gates / Max Area of Island

Members only

LeetCode 286 (Walls and Gates) and LC 695 (Max Area of Island). Multi-source BFS for the distance-fill variant; matrix DFS for the area variant. Both surface as standard grid-traversal warm-ups at Met...

SWE
MLE
Infra Eng
grid
bfs
dfs
medium
Frequency
Low
Last asked
2026-04-21
Stage
phone-screen · onsite-coding

Log in to continue reading the full content

Comments

Sign in to join the discussion
Loading...