Implement an LRU cache with a pluggable LRU/LFU eviction strategy.
Unlock detailed company stats for this questionUpgrade
It was not a direct LRU Cache problem. I had to explain the Strategy Pattern, create multiple classes and an interface, and build an Evictor class supporting both LRU and LFU eviction, all in 30 minutes.
Format · 30 minutes inside a 60-minute technical screen with a Principal SDE, after 30 minutes of Leadership Principles.
Community answers
No answers contributed by the community yet.
Related questions
Design a cache service with pluggable eviction strategies.Implement an LRU cache with O(1) operations.Implement an LRU Cache with TTL end to end.Related courses

Course

Course
Course
