Data_Structures_Class_Notes
Data_Structures_Class_Notes
Advantages:
Disadvantages:
- Fixed size
- Costly insertions/deletions
Strings are arrays of characters, often with special handling in many languages.
2. Linked Lists
Linked List is a linear data structure where each element points to the next.
Types:
Advantages:
- Dynamic size
- Easy insertion/deletion
Disadvantages:
- Sequential access
4. Trees
Types:
- Binary Tree
- Heap (Max/Min)
5. Hash Tables
Advantages:
Challenges:
6. Graphs
Representations:
- Adjacency Matrix
- Adjacency List