SnapchatCoding·45 minMembers
LRU Cache with TTL or Weighted Size
Members only
Implement an LRU-style cache, then handle production follow-ups such as TTL expiration, per-item size, or evicting multiple entries to stay within capacity.
SWE
data-structure
ttl
linked-list
medium
Frequency
Medium
Last asked
2026-09-04
Stage
phone-screen · onsite-coding
Log in to continue reading the full content
Comments
Sign in to join the discussion
Loading...
