Question: Explain with example. Degree of tree (i) Height of tree (ii) Depth of tree
0
degree of tree • 3.3k views
ADD COMMENTlink
modified 17 days ago by gravatar for Sanket Shingote Sanket Shingote ♦♦ 290 written 2.9 years ago by gravatar for Juilee Juilee2.5k
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

ADD COMMENTlink
written 2.9 years ago by gravatar for Juilee Juilee2.5k
Please log in to add an answer.