I was referring to floodfill algorithm on youtube and I came across a certain line of code.
I dont understand what the marked line of code does.
I tried to search on google but couldnt find a solution.Floodfill algo
I believe “n” is being initialised with size of vector “IMAGE” but what is the value being intialised to “m” and why is it done like that?
New contributor
Vaisakh is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.