Flood Fill Algorithms

Welcome to OpenGenus πŸŽ‰,

Today, I will be discussing a very easy and perhaps the most beautiful algorithm that is the "Flood Fill Algorithms".

Flood Fill algorithm is an Algorithm that determines the area connected to a given node in a N-dimensional array. Some operations are performed on the connected nodes like color change. This is also known as Seed Fill Algorithm.

The idea is that you are given a N-dimensional space and some nodes are blocked with stones. One node is the source of water and ...

 •  0 comments  •  flag
Share on Twitter
Published on October 29, 2021 22:10
No comments have been added yet.