- We need a dynamic data structure to data efficiently into memory.
- Memory spaces in a program can be accessed using dynamic memory allocation.
- This is opposite to static data structure where the programmer has to fix the number of memory spaces manually.
- The structure that changes its size during run time is called a Dynamic Data Structure.
- Values stored in the data structure whether it is static or dynamic can be changed.
- Both the data present in the data structure and the size of the data structure can be easily changed in the dynamic data structure.
- Data that gets generated at the run time can be easily stored in dynamic data structure.
- The size of the Data Structure can be easily increased during the run time of program execution.
W