
LRU
文章平均质量分 82
jmspan
这个作者很懒,什么都没留下…
展开
-
LeetCode 146. LRU Cache(LRU缓存)
原题网址:https://leetcode.com/problems/lru-cache/ Design and implement a data structure for Least Recently Used (LRU) cache. It should support the following operations: get and set. get(key) - Get原创 2016-05-26 01:24:27 · 858 阅读 · 0 评论 -
LeetCode 460. LFU Cache
原题网址:https://leetcode.com/problems/lfu-cache/ Design and implement a data structure for Least Frequently Used (LFU) cache. It should support the following operations: getand put. get(key) -原创 2017-01-06 05:34:25 · 1769 阅读 · 0 评论