Thoughtworks Interview Question

Reverse level order travesal