Solution to Reverse Level-order Traversal