Frage im Vorstellungsgespräch bei Airbnb

Paintfill question from Cracking coding interview

Antwort im Vorstellungsgespräch

Anonym

11. Aug. 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.