Microsoft Interview Question

How can you traverse a tree?