中等
共 142 篇文章
leetcode146. LRU 缓存
题目 题解 class LRUCache { private: int capacity; list<pair<int,int>>cache; unordered_map<int,list<pair<int,int>>::iterator> mp; public: L
leetcode148. 排序链表
题目 题解 搬移官方题解 /** * Definition for singly-linked list. * struct ListNode { * int val; * ListNode *next; * ListNode() : val(0), next(nu
acwing3555. 二叉树
暂无摘要...
acwing4074. 铁路与公路
暂无摘要...
acwing3729. 改变数组元素
暂无摘要...
acwing100. 增减序列
暂无摘要...
acwing3956. 截断数组
暂无摘要...
acwing3417. 砝码称重
暂无摘要...
acwing3418. 杨辉三角形
暂无摘要...
acwing2069. 网络分析
暂无摘要...