Google Interview Question

Print the top view of binary tree