111110101start
easyGrind 75

Flood Fill

Flood Fill is a traversal problem: the hard part is modeling the state you visit. It's a great warm-up that builds traversal modeling without a ton of moving parts. The trap is revisiting states or missing a base case; your visited/queue logic needs to be tight.

Arrays & HashingBFS / DFS
๐Ÿ‘ฉโ€๐Ÿซ
๐Ÿ‘จโ€๐Ÿ’ผ

Meet Allison & Tim

Your AI coaches

Practice coding interviews out loud with real-time voice coaching. Your code actually runs.

Free ยท No sign up ยท Early access
1Flood Filleasy
Based onLeetCode

Get this problem sent to your inbox