Pregunta de entrevista de Bloomberg

Print tree level by level