top view of a binary tree
Answers
Answered by
0
Print top view of a binary tree. Given abinary tree, print the values of nodes that would appear when the tree is viewed from top. ... Please note that though there are three nodes(nodes 1,5,6) with horizontal distance of 0, only node 1 is in top view because it is at the top-most level of all three nodes.
Hope this Helped you if yes then pls mark this answer as brainliest pls ☺
Hope this Helped you if yes then pls mark this answer as brainliest pls ☺
Attachments:
Similar questions