FactSet Interview Question

Nothing unexpected. Construct trees given the node orders.