Dictionary Map is a data structure that stores key-value pairs with efficient lookup, insertion, and deletion operations.
Key Characteristics:
Applications: Caching, indexing, symbol tables, and frequency counting.
Strengths:
Limitations:
| Operation | Average Time | Worst Time | Space |
|---|---|---|---|
| Insert | O(1) | O(n) | O(1) |
| Delete | O(1) | O(n) | O(1) |
| Search | O(1) | O(n) | O(1) |
| Space | - | - | O(n) |
n = number of key-value pairs