Amazon Interview Question

Print binary tree side view.