Professional Documents
Culture Documents
DS - Lect 1
DS - Lect 1
DS - Lect 1
2|Page
Chapter: 1 Introduction to Data Structure
Static Data Structure: A type of Linear data structure whose size is fixed
and cannot be change during execution time is called Static data structure.
The content of the static data structure can be modified but without changing
the memory space allocated to it.
Example: Arrays
Dynamic Data Structure: A type of Linear data structure whose size is not
fixed and can be modified during the operations performed on it is called
Dynamic data structure. Dynamic data structures are designed to facilitate
change of data structures in the run time.
Example: Linked List, Stack
3|Page
Chapter: 1 Introduction to Data Structure
X
AJAB NOOR
Lecturer in Computer Science, GPGC Bannu
4|Page