Model N Interview Question

Traverse all the elements of a binary tree.