LRU Cache 力扣题解题目描述题目链接: 146. LRU 缓存机制
设计并实现一个 LRU (Least Recently Used) 缓存机制,它支持 get 和 put 操作。
函数签名:
int get(int key):如
2025-12-12