IBM interview question

Implement depth first search on a bst.