Pregunta de entrevista de Salesforce

Write a function that will print the nodes of a tree in level order.