Meta logoMeta
Coding·40 minMembers

LRU Cache

Members only

LeetCode 146. O(1) get/put with capacity eviction. Doubly-linked list + hashmap is the canonical implementation; an MLE/SDE onsite warm-up.

SWE
MLE
data-structure
hashmap
linked-list
medium
Frequency
Single report
Last asked
2026-01-13
Stage
phone-screen · onsite-coding

Log in to continue reading the full content