Search
⌘K
Leetcode 733. Flood Fill
Given an m×n grid and a starting pixel (sr, sc), repaint all 4-directionally connected cells that have the same color as the starting pixel to the new color and return the updated image. If the new color equals the starting pixel's original color, leave the image unchanged.
Asked at:
C3 AI
Question Timeline
See when this question was last asked and where, including any notes left by other candidates.
All Regions
Mid November, 2025
Staff
Early January, 2025
C3 AI
Mid-level
Comments
Hello Interview Premium
Your account is free and you can post anonymously if you choose.