Applied Materials Interview Question

Print binary tree by levels