Trees
Trees
INTRODUCTION
List Representation
by 45 degrees
BINARY TREE/ LEFT CHILD RIGHT
CHILD REPRESENTATION
STORAGE REPRESENTATION OF
BINARY TREES
The storage representation of binary trees
can be classified as
1. Array representation
2. Linked representation.
ARRAY REPRESENTATION
A tree can be represented using an array,
which is called sequential representation.
ARRAY REPRESENTATION
A tree can be represented using an array,
which is called sequential representation.
The nodes are numbered from 1 to n, and