Design an LFU-style cache that only evicts values with even scores.
Unlock detailed company stats for this questionUpgrade
Keys are numbers. Values are in the format [Content: String, Score: INT]. Each time a key-value pair is accessed, its score increases by 1. Evict following the standard LFU pattern, but only evict values whose score is even.
Community answers
No answers contributed by the community yet.
Related questions
Design an LFU cache with TTL.Design a cache service with pluggable eviction strategies.Related courses

Course

Course
Course
