Meta interview question

Traverse BST