Question d’entretien chez Airbnb

Paintfill question from Cracking coding interview

Réponse à la question d'entretien

Utilisateur anonyme

11 août 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.