GEICO interview question

Print boundary nodes in a binary tree.