BNY interview question

Write a program to do a depth-first search traversal through a Binary Search Tree.