Pregunta de entrevista de Microsoft

Write a simple code which traverses a binary tree