Introduction To Trees
Introduction To Trees
Lecture 16
02
What is a Tree?
Node
2
1
Edge
What is a Tree?
4
4
1
2
1
5
4
What is a Tree?
Root node
1
4
2
4
1
Definitions
Path Length
Height of a Node
Depth of a Node
Height of a Tree
Definitions
Child Node
Parent Node
Definitions
Leaf Node
parent.
Ancestors
Siblings
Descendants of a node n
Definitions
Subtree
Definitions
Tree Arity
n-ary.
Binary.
n-ary tree
Universidade Federal da Paraba
Centro de Informtica
binary tree
9