• + 2 comments

    I don't think you are right.

    Please refer to http://www.geeksforgeeks.org/print-nodes-top-view-binary-tree/

    http://algorithms.tutorialhorizon.com/print-the-top-view-of-a-binary-tree/

    You will understand the definition of the top view of a binary tree.That is an interesting question but not as simple as you think.