Question d’entretien chez IEM Corp.

Write a function to traverse a binary tree.