0
9.9kviews
Explain with example. Degree of tree (i) Height of tree (ii) Depth of tree
1 Answer
written 7.9 years ago by |
(i) Degree of Tree:
The degree of a tree is defined as the maximum of degree of the nodes of the tree, that is, degree of tree = max (degree(node i) for I = 1 to n)
(ii) Height of Tree:
Height of a tree is the maximum level of any node in the tree
(iii) Depth of Tree:
Depth of a tree is the maximum value of the level for the nodes in the tree