Question: Explain with example. Degree of tree (i) Height of tree (ii) Depth of tree

0

0

**(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

Please log in to add an answer.