Data Structures
Data Structures
TO DATA
STRUCTURE
BY
S.SANKARESWARI
What is Data Structure ?
Primitive Non-Primitive
Linear Non-Linear
1. Searching
2. Sorting
3. Insertion
4. Deletion
5. Updation
6. Coping
Stack
It is an ordered group of homogeneous items of elements.
Elements are added to and removed from the top of the stack
(the most recently added items are at the top of the stack).
The last element to be added is the first to be removed (LIFO:
Last In, First Out).
Examples of Stack
Stack operation
⦿ }