FactSet Interview Question

Binary tree creation using iterative methods