3. Data structures for Tree.
In computer science, a tree is a widely used
abstract data type (ADT)—or data structure
implementing this ADT—that simulates a
hierarchical tree structure, with a root
value and subtrees of children with a parent
node, represented as a set of linked nodes.
This is often done via a stack (LIFO)
or queue (FIFO).
6. A way to totally order the vertices of and ordered rooted
tree . We do this recursively:
Label the root with integer number 0.Then label its k
children from left to right with 1,2,3,...,k.
For each vertex v at level A , label its Kv children ,as
they drawn from left to right ,with A.1,A.2,…A.Kv.
Universal Address System
7.
8. What is Tree Traversal…??
Tree traversal is a form of graph traversal..
It refers to the process of visiting each node
in a tree data structure..