All Questions
Caching easy

Your cache uses an LRU (Least Recently Used) eviction policy. When the cache is full, which item is removed?

  1. A The item with the absolute oldest insertion timestamp, regardless of recent usage profile.
  2. B The item that has not been successfully accessed for the longest rolling period of time.
  3. C The item that has been accessed the fewest number of times total across its entire duration.
  4. D The largest individual item in terms of total memory footprint to maximize space reclamation.

One system design question a day, with spaced repetition so the ones you miss come back.

Get the app

Related questions