7-Eleven Interview Question

How to traverse a binary tree?