Data_Structures_MU_Full_Notes
Data_Structures_MU_Full_Notes
1. STACK
Definition:
A stack is a linear data structure which follows the LIFO (Last In First Out) principle.
Operations:
Implementation:
- Linked List-based: Uses nodes where insertions and deletions are done at the head.
Applications:
2. QUEUE
Definition:
A queue is a linear data structure that follows FIFO (First In First Out).
Operations:
Types of Queue:
- Priority Queue: Each element has a priority; higher priority dequeued first
Applications:
- Job scheduling in OS
- Printer queues
3. LINKED LIST
Definition:
A linked list is a linear data structure where each element is a node containing data and a reference to the
next node.
Types:
Operations:
- Traversal
Advantages:
Disadvantages:
4. TREE
Definition:
Binary Tree:
Tree Traversal:
Applications:
- Expression trees
5. SEARCHING TECHNIQUES
Linear Search:
Data Structures Full Notes - Mumbai University (NEP 2020)
Binary Search:
Comparison:
Applications: