FactSet Interview Question

zigzag tree traversal