Implement Cache with Configurable Eviction Policy
Design and implement a cache data structure that supports configurable eviction policies when the cache reaches capacity. The implementation should allow different eviction strategies to be plugged in dynamically.
Asked at:
Question Timeline
See when this question was last asked and where, including any notes left by other candidates.
All Regions
Early November, 2025
Manager
Basically you are given a whole Cache class to implement, when the cache is full your class should support configurable eviction policy.
Hello Interview Premium
Your account is free and you can post anonymously if you choose.