Meta interview question

Reverse tree traversal with backtracking