← Accolite questions
CodingReported in a candidate post, Aug 2020

Flood fill algorithm and X O flip

Filed under Accolite

Implement the Flood Fill algorithm: given a 2D image, a starting coordinate (sr, sc), and a new color, change the color of the starting pixel and all adjacent pixels of the same initial color…

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 Accolite questions

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