All challenges
Code AnalysisIntermediate 45s

LRU eviction

Which entry is evicted in LRU when cache is full?
Starter code
# Cache: [A(accessed 10s ago), B(accessed 5s ago), C(accessed 1min ago)]
# Now full, adding D

Think you can answer under pressure?

Get matched and answer live questions in 3-minute 1v1 battles. Elo ranking, badge tiers and bragging rights on the line.

Play this in a 3-minute battle