Data Structure Introduction
Data Structure Introduction
1 2 3 4 N
Two-dimensional array element is referenced by two subscript.
Tables, Matrix etc.
1
2 0 1 2 3 4 N
3 0 1 2 3 4 N
1 2 3 4 N
Data Structure Introduction and Overview
5
Linked Lists
A linked list is a linear collection of data elements (or a
chain of structures) called nodes.
Each node contain two parts:
Info – Contains the information of the element
Link – Contains the address of the next node ( or pointer to the
next element).
It is one of the simpler of the advanced data structures.
Here is a diagram to illustrate: Information part
New Push
Pop Peek
?
Data Structure Introduction and Overview
8
Queues
Rear
Delete from
queue Empty? ?
Full?
Student
FN MN LN StrNO H# APTNO