#
【題目描述】LFU (Least Frequently Used) is a famous cache eviction algorithm.For a cache with capacity k,
LRU Chains(or LRU lists)有它們相關(guān)的算法在過(guò)去已經(jīng)修改過(guò)多次。盡管算法已經(jīng)修改過(guò),但LRU chain的功能仍然相同:為了幫助被頻繁訪問(wèn)的buffer內(nèi)置在cache中和幫助