How to print the top view of an binary Tree?
Answers
Answered by
0
Top view of a binary tree is the set of nodes visible when the tree is viewed from the top. Given a binary tree, print the top view of it. The output nodes can be printed in any order. Expected time complexity is O(n).
Similar questions
Physics,
7 months ago