FE - Unit1 - Introduction To Data Structure
FE - Unit1 - Introduction To Data Structure
Its examples are: array, stack, While its examples are: trees and
6.
queue, linked list, etc. graphs.
Applications of linear data Applications of non-linear data
7. structures are mainly in application structures are in Artificial Intelligence
Static data structure
• In Static data structure the size of the structure is fixed. The content of
the data structure can be modified but without changing the memory
space allocated to it.
Dynamic data structure
• In Dynamic data structure the size of the structure is not
fixed and can be modified during the operations performed
on it. Dynamic data structures are designed to facilitate
change of data structures in the run time.
•
Aspect Static Data Structure Dynamic Data Structure
Memory is allocated at
Memory allocation Memory is allocated at run-time
compile-time