Teradata Interview Question

Solve binary tree with BFS.