- A data structure is a particular way of organizing data in a computer so that it can be used effectively.
- Array
- Linked list
- Stack
- Queue
- An Array is a variable which can store multiple values of same data type at a time. (or)
- It is a collection of similar data items stored in continous memory locations with single name.
Syntax: datatype arrayName[size];
- Linked list is a linear data structure that contains sequence of elements such that each element link to it's next element in the sequence.
- Each element in the linked list is called "Node".
- Stack is a linear data structure in which the operations are performed based on LIFO (Last In First Out) principle.
- Queue is a linear data structure in which the operations are performed based on FIFO (First In First Out) principle.
- Trees
- Graphs