Professional Documents
Culture Documents
A.Baskar
BITS Pilani, K. K. Birla Goa Campus
February 2, 2018
texmf
doc
fonts
source
tex
generic
latex
plain
texdoc
Trees that we consider are rooted. Once the root is defined (by
the user) all nodes have a specific level
Nodes with no children are called leaves (terminal, external
nodes), ne denote the number of external nodes
Nodes which are not leaves are called internal nodes. ni to
denote the number of internal nodes
Trees that we consider are rooted. Once the root is defined (by
the user) all nodes have a specific level
Nodes with no children are called leaves (terminal, external
nodes), ne denote the number of external nodes
Nodes which are not leaves are called internal nodes. ni to
denote the number of internal nodes
Size, n, of a tree is the number of nodes in it (n = ni + ne )
Lemma
Let T be a tree with n nodes and let cv denote the number of
children of node v in T. Then
X
cv = n − 1
v ∈T
h + 1 ≤ ne ≤ 2h
h ≤ ni ≤ 2h − 1
h + 1 ≤ n ≤ 2h+1 − 1
log (n + 1) − 1 ≤ h ≤ (n − 1)/2
h + 1 ≤ ne ≤ 2h
h ≤ ni ≤ 2h − 1
h + 1 ≤ n ≤ 2h+1 − 1
log (n + 1) − 1 ≤ h ≤ (n − 1)/2
The number of external nodes is one more than the number of
internal nodes.
A E
B D F G
C L H I J K