Implement an LRU cache with a pluggable LRU/LFU eviction strategy.
Unlock detailed company stats for this questionUpgrade
Explain the Strategy Pattern, create multiple classes and an interface, and build an Evictor class that supports both LRU and LFU eviction. This is not a direct LRU Cache problem.
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
