AmazonCoding·30 minMembers
LRU Cache (LC 146)
Members only
Implement an LRU cache with O(1) get/put. A perennial Amazon onsite/phone-screen coding round; interviewers usually want to see a doubly-linked list plus hashmap rather than a deque trick.
SWE
hashmap
data-structure
medium
Frequency
High
Last asked
2026-10-03
Stage
onsite-coding · phone-screen
Log in to continue reading the full content
Comments
Sign in to join the discussion
Loading...
