Thoughtworks interview question

Reverse level order travesal