An LFU (least frequently used) cache evicts the key that has been accessed the fewest times. Ties are broken by evicting the least recently used of those keys.
Unlock this and every premium problem across all tracks — plus hidden-test grading, advanced AI engineering modules and new content every week.
Start 7-day free trial