Pregunta de entrevista de Airbnb

Paintfill question from Cracking coding interview

Respuesta de la entrevista

Anónimo

11 de ago de 2015

I first came up with recursive solution. Afterwards i was asked if i could do it iteratively and I used queues to solve the question.