Maze solving with flood fill

We can use flood fill algorithm if we want to reach center of maze. But if the goal is not center,it is a random cell, Can we use again flood fill algorthm? If yes, How? I am prep student and this is my first real project.I do not know almost anything.So any suggestion or comment will help me.Thx :slight_smile:

What has this got to do with an Arduino ?

...R

You can reach any cell with floodfill,

just flood until you reached the cell you want to reach and then backtrack.

no diff with centre cell, and you can use any kind of maze with square cells triangular or round cells or 3 (or more) dimensional cells. The essence is all the same.