Domanda di colloquio di Google

write a code for the "Fill with color" tool functionality in MS Paint or Photoshop.

Risposta di colloquio

Anonimo

10 set 2014

Use the screen as 2D array and use recursion to color it, but be sure from the case when color_old = color_new, because if you get this with out if statement you will stuck in infinite loop.