Pergunta de entrevista da empresa Amazon

Can you describe a fast flood-fill algorithm that you could use in an image-editing program?