Meta interview question

Traverse a binary tree