WD interview question

Reverse tree, Search using Hash tables