The core data structures needed for building scalable Low-Level Designs, with time complexity analysis.
Key-value store. Essential for O(1) lookups, caching, and counting frequencies.
FIFO structure. Vital for BFS (Breadth-First Search) and processing tasks in order.
Retrieves the min/max element in O(1). Crucial for Dijkstra's, Top-K problems, and merging intervals.
Nodes with pointers. Important for LRU Cache implementation (Doubly Linked List).
Unordered collection of unique elements. Used for O(1) existence checks and removing duplicates.
Hierarchical structure. Used for File Systems, Organization Charts, and specialized databases.