Connected Interview Question

TDD and flood fill algorithm