Tree terminologies
Tree : Tree is collection of nodes and edges. Or, it's collection of nodes where one node is taken as root node and rest of the nodes are divided into disjoint subsets and each subset is tree or subtree.
Tree terminologies :
Level starts from 1 onwards (we count nodes) and height starts from 0 onwards (we counts edges).
1. Unlabelled Nodes :
2. Labelled Nodes :
1. If height of binary tree is given?
2. If nodes of binary tree is given?
Comments
Post a Comment