Netflix logoNetflix
Coding·60 minMembers

Weighted Cache / Timed Cache

Members only

Implement a cache with either weighted capacity eviction or fixed per-item expiration. Follow-ups focus on cleanup strategy, hot-path `get`, capacity limits, and production trade-offs.

SWE
Infra Eng
data-structure
heap
caching
ttl
concurrency
medium
Frequency
High
Last asked
2026-09-24
Stage
phone-screen · onsite-coding

Log in to continue reading the full content

Comments

Sign in to join the discussion
Loading...