UKG Interview Question

How to parse through a binary tree