
An image is represented by an m x n integer grid image where image[i][j] represents the pixel value of the image. You are also given three integers sr, sc, and color. You should perform a flood fill on the image starting from the pixel image[sr][sc]....
Let's crack the interviews
Markdown supported · ⌘↵ to post
No responses yet.