跳到正文
ThinkerQAQ
文章
项目
系列
笔记
关于
搜索
中文
/
EN
笔记
/
Data Structures & Algorithms
/
leetcode
/
lru
lru
Data Structures & Algorithms · 1 篇笔记
设计LRU缓存结构
historical
设计一个容量固定为 K 的 LRU 缓存,支持按键查询和写入,并在容量不足时淘汰最近最少使用的数据。
2022/07/10