Bloomberg Interview Question

Level wise binary tree traversal