← Zoho questions

Implement Flood Fill Algorithm

Filed under Zoho · Also reported at Wissen

Given a 2D image represented by a matrix of integers, a starting row, a starting column, and a new color, implement the flood fill algorithm to replace connected regions of the original color with the…

You've read your 3 free write-ups

Sign up free to keep reading. Your account opens the first 10 questions of every company.

Related Zoho questions

Collected from public candidate posts and coding forums. Updated Nov 2026.