Pregunta de entrevista de FactSet

Nothing unexpected. Construct trees given the node orders.