← Back to Coding
LRU Cache
HardChallenge Prompt
Design and implement an LRU (Least Recently Used) cache with O(1) get and put operations.
Evaluation Criteria:
Correct implementation, optimal complexity, edge case handling