Science, asked by tejdeepsingh5139, 1 year ago

How to print the top view of an binary Tree?

Answers

Answered by VashisthAtul
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