What is the goal of Flood Fill?
Practice this question from Flood Fill - Boundary DFS Pattern Practice Quiz, with options and an explanation.
Question
What is the goal of Flood Fill?
Option A — Correct answer
Recolor the connected region that matches the starting pixel color.
Option B
Sort values and use binary search only
Option C
Count characters in a string
Option D
Reverse a linked list
Explanation
Recolor the connected region that matches the starting pixel color.