Back to Question
LRU Cache Implementation
Question Explain
Design and implement a Least Recently Used (LRU) cache. It should support `get` and `put` operations in $O(1)$ time complexity using a HashMap and a Doubly Linked List.
Start Trying This Question Simulation
Click "Start Speaking" and answer the question naturally.