Halloween SalePremium questions, over 30% offUnlock all premium questions for over 30% off
Priority Cache System
Hard
A CDN (Content Delivery Network) maintains a fixed-capacity cache of web content. Each content item has an associated priority score. When the cache is full and a new item needs to be loaded, the item with the lowest priority score is evicted. If multiple items tie for the lowest score, any one of them may be evicted.
Implement the PriorityCache class:
...
Asked at:LinkedIn
More LinkedIn interview questions
- Active Sprint Filtereasy
- Closest Value Pairmedium
- Digit Replacement Maximizermedium
- Distribution Center Placementmedium
- Manual String Substitutionmedium
- Combine N-ary Treeshard
- Balanced Parentheseseasy
- Words From Phone Numbermedium
OfferRetriever
Master technical interviews with real questions from top companies. Build your confidence and career.
LEGAL
© 2026 Purple Business Holdings LLC. All rights reserved. See Terms of Service.