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 评论