Meta interview question

Implementation of an iterator based on a binary search tree.