Bloomberg logoBloomberg
Coding·60 minMembers

LRU Cache

Members only

Implement a fixed-capacity LRU cache supporting `get` and `put` in O(1). Bloomberg asks it both as a standard cache implementation and as an OOP design discussion, with follow-ups around thread safety...

SWE
data-structure
linked-list
hashmap
caching
concurrency
refactoring
medium
Frequency
Low
Last asked
2026-07-28
Stage
phone-screen · onsite-coding

Log in to continue reading the full content

Comments

Sign in to join the discussion
Loading...