---
title: "Discussion on \"Flood Fill - BFS\" | Hashnode"
description: "Discussion on \"Flood Fill - BFS\". An image is represented by an m x n integer grid image where image[i][j] represents the pixel value of the image.\nYou 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]...."
url: "https://hashnode.com/posts/flood-fill-bfs/66812168863cb184d8371a1f"
---

[Feed](https://hashnode.com/feed) /

Discussion

# [Flood Fill - BFS](https://lietcode.hashnode.dev/flood-fill-bfs?utm_source=hashnode&utm_medium=feed)

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\]....

Jun 30, 2024 · 4 min read · lietcode.hashnode.dev  
Read the article

-   [#breadth-fist-search](https://hashnode.com/tag/breadth-fist-search)
-   [#graph-database](https://hashnode.com/tag/graph-database)

## Written by

[Abhi](https://hashnode.com/@lietcode)

@lietcode

  
[View profile](https://hashnode.com/@lietcode)

Let's crack the interviews

## Responses

Markdown supported · ⌘↵ to post

No responses yet.
