跳至主要內容

数组


数组

全部标签

数据结构

数组 矩阵 链表 双向链表 单调栈 队列 单调队列 堆(优先队列) 哈希表 字符串 字符串匹配 二叉树 二叉搜索树 最小生成树 有序集合 拓扑排序 最短路 强连通分量 欧拉回路 双连通分量 并查集 字典树 线段树 树状数组 后缀数组

算法

枚举 递归 分治 回溯 贪心 动态规划 排序 桶排序 计数排序 基数排序 归并排序 快速选择 二分查找 记忆化搜索 深度优先搜索 广度优先搜索 双指针 位运算 前缀和 计数 滑动窗口 状态压缩 哈希函数 滚动哈希 扫描线

其他

数学 数论 几何 博弈 模拟 组合数学 随机化 概率与统计 水塘抽样 拒绝采样 数据库 设计 数据流 脑筋急转弯 交互 迭代器 多线程


题号标题题解标签难度力扣
1两数之和[✓]数组 哈希表🟢🀄️open in new window 🔗open in new window
4寻找两个正序数组的中位数[✓]数组 二分查找 分治🔴🀄️open in new window 🔗open in new window
11盛最多水的容器[✓]贪心 数组 双指针🟠🀄️open in new window 🔗open in new window
15三数之和[✓]数组 双指针 排序🟠🀄️open in new window 🔗open in new window
16最接近的三数之和[✓]数组 双指针 排序🟠🀄️open in new window 🔗open in new window
18四数之和[✓]数组 双指针 排序🟠🀄️open in new window 🔗open in new window
26删除有序数组中的重复项[✓]数组 双指针🟢🀄️open in new window 🔗open in new window
27移除元素[✓]数组 双指针🟢🀄️open in new window 🔗open in new window
31下一个排列[✓]数组 双指针🟠🀄️open in new window 🔗open in new window
33搜索旋转排序数组[✓]数组 二分查找🟠🀄️open in new window 🔗open in new window
34在排序数组中查找元素的第一个和最后一个位置[✓]数组 二分查找🟠🀄️open in new window 🔗open in new window
35搜索插入位置[✓]数组 二分查找🟢🀄️open in new window 🔗open in new window
36有效的数独[✓]数组 哈希表 矩阵🟠🀄️open in new window 🔗open in new window
37解数独[✓]数组 哈希表 回溯 1+🔴🀄️open in new window 🔗open in new window
39组合总和[✓]数组 回溯🟠🀄️open in new window 🔗open in new window
40组合总和 II[✓]数组 回溯🟠🀄️open in new window 🔗open in new window
41缺失的第一个正数[✓]数组 哈希表🔴🀄️open in new window 🔗open in new window
42接雨水[✓] 数组 双指针 2+🔴🀄️open in new window 🔗open in new window
45跳跃游戏 II[✓]贪心 数组 动态规划🟠🀄️open in new window 🔗open in new window
46全排列[✓]数组 回溯🟠🀄️open in new window 🔗open in new window
47全排列 II[✓]数组 回溯🟠🀄️open in new window 🔗open in new window
48旋转图像[✓]数组 数学 矩阵🟠🀄️open in new window 🔗open in new window
49字母异位词分组[✓]数组 哈希表 字符串 1+🟠🀄️open in new window 🔗open in new window
51N 皇后[✓]数组 回溯🔴🀄️open in new window 🔗open in new window
53最大子数组和[✓]数组 分治 动态规划🟠🀄️open in new window 🔗open in new window
54螺旋矩阵[✓]数组 矩阵 模拟🟠🀄️open in new window 🔗open in new window
55跳跃游戏[✓]贪心 数组 动态规划🟠🀄️open in new window 🔗open in new window
56合并区间[✓]数组 排序🟠🀄️open in new window 🔗open in new window
57插入区间[✓]数组🟠🀄️open in new window 🔗open in new window
59螺旋矩阵 II[✓]数组 矩阵 模拟🟠🀄️open in new window 🔗open in new window
63不同路径 II[✓]数组 动态规划 矩阵🟠🀄️open in new window 🔗open in new window
64最小路径和[✓]数组 动态规划 矩阵🟠🀄️open in new window 🔗open in new window
66加一[✓]数组 数学🟢🀄️open in new window 🔗open in new window
68文本左右对齐[✓]数组 字符串 模拟🔴🀄️open in new window 🔗open in new window
73矩阵置零[✓]数组 哈希表 矩阵🟠🀄️open in new window 🔗open in new window
74搜索二维矩阵[✓]数组 二分查找 矩阵🟠🀄️open in new window 🔗open in new window
75颜色分类[✓]数组 双指针 排序🟠🀄️open in new window 🔗open in new window
78子集[✓]位运算 数组 回溯🟠🀄️open in new window 🔗open in new window
79单词搜索[✓]数组 字符串 回溯 1+🟠🀄️open in new window 🔗open in new window
80删除有序数组中的重复项 II[✓]数组 双指针🟠🀄️open in new window 🔗open in new window
81搜索旋转排序数组 II[✓]数组 二分查找🟠🀄️open in new window 🔗open in new window
84柱状图中最大的矩形[✓] 数组 单调栈🔴🀄️open in new window 🔗open in new window
85最大矩形[✓] 数组 动态规划 2+🔴🀄️open in new window 🔗open in new window
88合并两个有序数组[✓]数组 双指针 排序🟢🀄️open in new window 🔗open in new window
90子集 II[✓]位运算 数组 回溯🟠🀄️open in new window 🔗open in new window
105从前序与中序遍历序列构造二叉树[✓] 数组 哈希表 2+🟠🀄️open in new window 🔗open in new window
106从中序与后序遍历序列构造二叉树[✓] 数组 哈希表 2+🟠🀄️open in new window 🔗open in new window
108将有序数组转换为二叉搜索树[✓] 二叉搜索树 数组 2+🟢🀄️open in new window 🔗open in new window
118杨辉三角[✓]数组 动态规划🟢🀄️open in new window 🔗open in new window
119杨辉三角 II数组 动态规划🟢🀄️open in new window 🔗open in new window
120三角形最小路径和[✓]数组 动态规划🟠🀄️open in new window 🔗open in new window
121买卖股票的最佳时机[✓]数组 动态规划🟢🀄️open in new window 🔗open in new window
122买卖股票的最佳时机 II[✓]贪心 数组 动态规划🟠🀄️open in new window 🔗open in new window
123买卖股票的最佳时机 III[✓]数组 动态规划🔴🀄️open in new window 🔗open in new window
128最长连续序列[✓]并查集 数组 哈希表🟠🀄️open in new window 🔗open in new window
130被围绕的区域[✓]深度优先搜索 广度优先搜索 并查集 2+🟠🀄️open in new window 🔗open in new window
134加油站[✓]贪心 数组🟠🀄️open in new window 🔗open in new window
135分发糖果[✓]贪心 数组🔴🀄️open in new window 🔗open in new window
136只出现一次的数字[✓]位运算 数组🟢🀄️open in new window 🔗open in new window
137只出现一次的数字 II[✓]位运算 数组🟠🀄️open in new window 🔗open in new window
139单词拆分[✓]字典树 记忆化搜索 数组 3+🟠🀄️open in new window 🔗open in new window
140单词拆分 II字典树 记忆化搜索 数组 4+🔴🀄️open in new window 🔗open in new window
149直线上最多的点数[✓]几何 数组 哈希表 1+🔴🀄️open in new window 🔗open in new window
150逆波兰表达式求值[✓] 数组 数学🟠🀄️open in new window 🔗open in new window
152乘积最大子数组[✓]数组 动态规划🟠🀄️open in new window 🔗open in new window
153寻找旋转排序数组中的最小值[✓]数组 二分查找🟠🀄️open in new window 🔗open in new window
154寻找旋转排序数组中的最小值 II[✓]数组 二分查找🔴🀄️open in new window 🔗open in new window
157用 Read4 读取 N 个字符 🔒数组 交互 模拟🟢🀄️open in new window 🔗open in new window
158用 Read4 读取 N 个字符 II - 多次调用 🔒数组 交互 模拟🔴🀄️open in new window 🔗open in new window
162寻找峰值[✓]数组 二分查找🟠🀄️open in new window 🔗open in new window
163缺失的区间 🔒数组🟢🀄️open in new window 🔗open in new window
164最大间距数组 桶排序 基数排序 1+🟠🀄️open in new window 🔗open in new window
167两数之和 II - 输入有序数组[✓]数组 双指针 二分查找🟠🀄️open in new window 🔗open in new window
169多数元素[✓]数组 哈希表 分治 2+🟢🀄️open in new window 🔗open in new window
170两数之和 III - 数据结构设计 🔒设计 数组 哈希表 2+🟢🀄️open in new window 🔗open in new window
174地下城游戏[✓]数组 动态规划 矩阵🔴🀄️open in new window 🔗open in new window
179最大数贪心 数组 字符串 1+🟠🀄️open in new window 🔗open in new window
188买卖股票的最佳时机 IV[✓]数组 动态规划🔴🀄️open in new window 🔗open in new window
189轮转数组[✓]数组 数学 双指针🟠🀄️open in new window 🔗open in new window
198打家劫舍[✓]数组 动态规划🟠🀄️open in new window 🔗open in new window
200岛屿数量[✓]深度优先搜索 广度优先搜索 并查集 2+🟠🀄️open in new window 🔗open in new window
204计数质数数组 数学 枚举 1+🟠🀄️open in new window 🔗open in new window
209长度最小的子数组[✓]数组 二分查找 前缀和 1+🟠🀄️open in new window 🔗open in new window
212单词搜索 II[✓]字典树 数组 字符串 2+🔴🀄️open in new window 🔗open in new window
213打家劫舍 II数组 动态规划🟠🀄️open in new window 🔗open in new window
215数组中的第K个最大元素[✓]数组 分治 快速选择 2+🟠🀄️open in new window 🔗open in new window
216组合总和 III[✓]数组 回溯🟠🀄️open in new window 🔗open in new window
217存在重复元素[✓]数组 哈希表 排序🟢🀄️open in new window 🔗open in new window
218天际线问题树状数组 线段树 数组 4+🔴🀄️open in new window 🔗open in new window
219存在重复元素 II[✓]数组 哈希表 滑动窗口🟢🀄️open in new window 🔗open in new window
220存在重复元素 III数组 桶排序 有序集合 2+🔴🀄️open in new window 🔗open in new window
221最大正方形[✓]数组 动态规划 矩阵🟠🀄️open in new window 🔗open in new window
228汇总区间[✓]数组🟢🀄️open in new window 🔗open in new window
229多数元素 II数组 哈希表 计数 1+🟠🀄️open in new window 🔗open in new window
238除自身以外数组的乘积[✓]数组 前缀和🟠🀄️open in new window 🔗open in new window
239滑动窗口最大值[✓]队列 数组 滑动窗口 2+🔴🀄️open in new window 🔗open in new window
240搜索二维矩阵 II[✓]数组 二分查找 分治 1+🟠🀄️open in new window 🔗open in new window
243最短单词距离 🔒数组 字符串🟢🀄️open in new window 🔗open in new window
244最短单词距离 II 🔒设计 数组 哈希表 2+🟠🀄️open in new window 🔗open in new window
245最短单词距离 III 🔒数组 字符串🟠🀄️open in new window 🔗open in new window
247中心对称数 II 🔒递归 数组 字符串🟠🀄️open in new window 🔗open in new window
248中心对称数 III 🔒递归 数组 字符串🔴🀄️open in new window 🔗open in new window
249移位字符串分组 🔒数组 哈希表 字符串🟠🀄️open in new window 🔗open in new window
251展开二维向量 🔒设计 数组 双指针 1+🟠🀄️open in new window 🔗open in new window
252会议室 🔒数组 排序🟢🀄️open in new window 🔗open in new window
253会议室 II 🔒贪心 数组 双指针 3+🟠🀄️open in new window 🔗open in new window
255验证二叉搜索树的前序遍历序列 🔒 二叉搜索树 4+🟠🀄️open in new window 🔗open in new window
256粉刷房子 🔒数组 动态规划🟠🀄️open in new window 🔗open in new window
259较小的三数之和 🔒[✓]数组 双指针 二分查找 1+🟠🀄️open in new window 🔗open in new window
260只出现一次的数字 III位运算 数组🟠🀄️open in new window 🔗open in new window
265粉刷房子 II 🔒数组 动态规划🔴🀄️open in new window 🔗open in new window
268丢失的数字[✓]位运算 数组 哈希表 3+🟢🀄️open in new window 🔗open in new window
269火星词典 🔒深度优先搜索 广度优先搜索 3+🔴🀄️open in new window 🔗open in new window
271字符串的编码与解码 🔒设计 数组 字符串🟠🀄️open in new window 🔗open in new window
274H 指数[✓]数组 计数排序 排序🟠🀄️open in new window 🔗open in new window
275H 指数 II[✓]数组 二分查找🟠🀄️open in new window 🔗open in new window
280摆动排序 🔒贪心 数组 排序🟠🀄️open in new window 🔗open in new window
281锯齿迭代器 🔒设计 队列 数组 1+🟠🀄️open in new window 🔗open in new window
283移动零[✓]数组 双指针🟢🀄️open in new window 🔗open in new window
284窥视迭代器设计 数组 迭代器🟠🀄️open in new window 🔗open in new window
286墙与门 🔒广度优先搜索 数组 矩阵🟠🀄️open in new window 🔗open in new window
287寻找重复数[✓]位运算 数组 双指针 1+🟠🀄️open in new window 🔗open in new window
288单词的唯一缩写 🔒设计 数组 哈希表 1+🟠🀄️open in new window 🔗open in new window
289生命游戏[✓]数组 矩阵 模拟🟠🀄️open in new window 🔗open in new window
296最佳的碰头地点 🔒数组 数学 矩阵 1+🔴🀄️open in new window 🔗open in new window
300最长递增子序列[✓]数组 二分查找 动态规划🟠🀄️open in new window 🔗open in new window
302包含全部黑色像素的最小矩形 🔒深度优先搜索 广度优先搜索 数组 2+🔴🀄️open in new window 🔗open in new window
303区域和检索 - 数组不可变[✓]设计 数组 前缀和🟢🀄️open in new window 🔗open in new window
304二维区域和检索 - 矩阵不可变设计 数组 矩阵 1+🟠🀄️open in new window 🔗open in new window
305岛屿数量 II 🔒并查集 数组 哈希表🔴🀄️open in new window 🔗open in new window
307区域和检索 - 数组可修改[✓]设计 树状数组 线段树 1+🟠🀄️open in new window 🔗open in new window
308二维区域和检索 - 矩阵可修改 🔒设计 树状数组 线段树 2+🔴🀄️open in new window 🔗open in new window
309买卖股票的最佳时机含冷冻期[✓]数组 动态规划🟠🀄️open in new window 🔗open in new window
311稀疏矩阵的乘法 🔒数组 哈希表 矩阵🟠🀄️open in new window 🔗open in new window
312戳气球数组 动态规划🔴🀄️open in new window 🔗open in new window
313超级丑数数组 数学 动态规划🟠🀄️open in new window 🔗open in new window
315计算右侧小于当前元素的个数树状数组 线段树 数组 4+🔴🀄️open in new window 🔗open in new window
317离建筑物最近的距离 🔒广度优先搜索 数组 矩阵🔴🀄️open in new window 🔗open in new window
318最大单词长度乘积位运算 数组 字符串🟠🀄️open in new window 🔗open in new window
321拼接最大数 贪心 数组 2+🔴🀄️open in new window 🔗open in new window
322零钱兑换[✓]广度优先搜索 数组 动态规划🟠🀄️open in new window 🔗open in new window
324摆动排序 II贪心 数组 分治 2+🟠🀄️open in new window 🔗open in new window
325和等于 k 的最长子数组长度 🔒数组 哈希表 前缀和🟠🀄️open in new window 🔗open in new window
327区间和的个数树状数组 线段树 数组 4+🔴🀄️open in new window 🔗open in new window
329矩阵中的最长递增路径深度优先搜索 广度优先搜索 5+🔴🀄️open in new window 🔗open in new window
330按要求补齐数组贪心 数组🔴🀄️open in new window 🔗open in new window
334递增的三元子序列[✓]贪心 数组🟠🀄️open in new window 🔗open in new window
335路径交叉几何 数组 数学🔴🀄️open in new window 🔗open in new window
336回文对字典树 数组 哈希表 1+🔴🀄️open in new window 🔗open in new window
346数据流中的移动平均值 🔒[✓]设计 队列 数组 1+🟢🀄️open in new window 🔗open in new window
347前 K 个高频元素[✓]数组 哈希表 分治 5+🟠🀄️open in new window 🔗open in new window
348设计井字棋 🔒设计 数组 哈希表 2+🟠🀄️open in new window 🔗open in new window
349两个数组的交集数组 哈希表 双指针 2+🟢🀄️open in new window 🔗open in new window
350两个数组的交集 II数组 哈希表 双指针 2+🟢🀄️open in new window 🔗open in new window
353贪吃蛇 🔒设计 队列 数组 2+🟠🀄️open in new window 🔗open in new window
354俄罗斯套娃信封问题[✓]数组 二分查找 动态规划 1+🔴🀄️open in new window 🔗open in new window
356直线镜像 🔒数组 哈希表 数学🟠🀄️open in new window 🔗open in new window
360有序转化数组 🔒数组 数学 双指针 1+🟠🀄️open in new window 🔗open in new window
361轰炸敌人 🔒数组 动态规划 矩阵🟠🀄️open in new window 🔗open in new window
362敲击计数器 🔒设计 队列 数组 2+🟠🀄️open in new window 🔗open in new window
363矩形区域不超过 K 的最大数值和数组 二分查找 矩阵 2+🔴🀄️open in new window 🔗open in new window
368最大整除子集数组 数学 动态规划 1+🟠🀄️open in new window 🔗open in new window
370区间加法 🔒数组 前缀和🟠🀄️open in new window 🔗open in new window
373查找和最小的 K 对数字[✓]数组 堆(优先队列)🟠🀄️open in new window 🔗open in new window
376摆动序列贪心 数组 动态规划🟠🀄️open in new window 🔗open in new window
377组合总和 Ⅳ数组 动态规划🟠🀄️open in new window 🔗open in new window
378有序矩阵中第 K 小的元素[✓]数组 二分查找 矩阵 2+🟠🀄️open in new window 🔗open in new window
379电话目录管理系统 🔒[✓]设计 队列 数组 2+🟠🀄️open in new window 🔗open in new window
380O(1) 时间插入、删除和获取随机元素[✓]设计 数组 哈希表 2+🟠🀄️open in new window 🔗open in new window
381O(1) 时间插入、删除和获取随机元素 - 允许重复设计 数组 哈希表 2+🔴🀄️open in new window 🔗open in new window
384打乱数组数组 数学 随机化🟠🀄️open in new window 🔗open in new window
391完美矩形数组 扫描线🔴🀄️open in new window 🔗open in new window
393UTF-8 编码验证位运算 数组🟠🀄️open in new window 🔗open in new window
396旋转函数数组 数学 动态规划🟠🀄️open in new window 🔗open in new window
399除法求值[✓]深度优先搜索 广度优先搜索 并查集 4+🟠🀄️open in new window 🔗open in new window
403青蛙过河数组 动态规划🔴🀄️open in new window 🔗open in new window
406根据身高重建队列树状数组 线段树 数组 1+🟠🀄️open in new window 🔗open in new window
407接雨水 II广度优先搜索 数组 矩阵 1+🔴🀄️open in new window 🔗open in new window
410分割数组的最大值贪心 数组 二分查找 2+🔴🀄️open in new window 🔗open in new window
411最短独占单词缩写 🔒位运算 数组 字符串 1+🔴🀄️open in new window 🔗open in new window
413等差数列划分数组 动态规划 滑动窗口🟠🀄️open in new window 🔗open in new window
414第三大的数数组 排序🟢🀄️open in new window 🔗open in new window
416分割等和子集[✓]数组 动态规划🟠🀄️open in new window 🔗open in new window
417太平洋大西洋水流问题深度优先搜索 广度优先搜索 数组 1+🟠🀄️open in new window 🔗open in new window
418屏幕可显示句子的数量 🔒数组 字符串 动态规划🟠🀄️open in new window 🔗open in new window
419棋盘上的战舰深度优先搜索 数组 矩阵🟠🀄️open in new window 🔗open in new window
421数组中两个数的最大异或值位运算 字典树 数组 1+🟠🀄️open in new window 🔗open in new window
422有效的单词方块 🔒数组 矩阵🟢🀄️open in new window 🔗open in new window
425单词方块 🔒字典树 数组 字符串 1+🔴🀄️open in new window 🔗open in new window
427建立四叉树[✓] 数组 分治 1+🟠🀄️open in new window 🔗open in new window
435无重叠区间[✓]贪心 数组 动态规划 1+🟠🀄️open in new window 🔗open in new window
436寻找右区间数组 二分查找 排序🟠🀄️open in new window 🔗open in new window
442数组中重复的数据[✓]数组 哈希表🟠🀄️open in new window 🔗open in new window
444序列重建 🔒 拓扑排序 数组🟠🀄️open in new window 🔗open in new window
446等差数列划分 II - 子序列数组 动态规划🔴🀄️open in new window 🔗open in new window
447回旋镖的数量数组 哈希表 数学🟠🀄️open in new window 🔗open in new window
448找到所有数组中消失的数字数组 哈希表🟢🀄️open in new window 🔗open in new window
452用最少数量的箭引爆气球[✓]贪心 数组 排序🟠🀄️open in new window 🔗open in new window
453最小操作次数使数组元素相等数组 数学🟠🀄️open in new window 🔗open in new window
454四数相加 II数组 哈希表🟠🀄️open in new window 🔗open in new window
455分发饼干贪心 数组 双指针 1+🟢🀄️open in new window 🔗open in new window
456132 模式 数组 二分查找 2+🟠🀄️open in new window 🔗open in new window
457环形数组是否存在循环数组 哈希表 双指针🟠🀄️open in new window 🔗open in new window
462最小操作次数使数组元素相等 II数组 数学 排序🟠🀄️open in new window 🔗open in new window
463岛屿的周长深度优先搜索 广度优先搜索 数组 1+🟢🀄️open in new window 🔗open in new window
465最优账单平衡 🔒位运算 数组 动态规划 2+🔴🀄️open in new window 🔗open in new window
469凸多边形 🔒几何 数组 数学🟠🀄️open in new window 🔗open in new window
472连接词深度优先搜索 字典树 数组 2+🔴🀄️open in new window 🔗open in new window
473火柴拼正方形位运算 数组 动态规划 2+🟠🀄️open in new window 🔗open in new window
474一和零[✓]数组 字符串 动态规划🟠🀄️open in new window 🔗open in new window
475供暖器数组 双指针 二分查找 1+🟠🀄️open in new window 🔗open in new window
477汉明距离总和位运算 数组 数学🟠🀄️open in new window 🔗open in new window
480滑动窗口中位数数组 哈希表 滑动窗口 1+🔴🀄️open in new window 🔗open in new window
484寻找排列 🔒 贪心 数组 1+🟠🀄️open in new window 🔗open in new window
485最大连续 1 的个数[✓]数组🟢🀄️open in new window 🔗open in new window
486预测赢家递归 数组 数学 2+🟠🀄️open in new window 🔗open in new window
487最大连续1的个数 II 🔒数组 动态规划 滑动窗口🟠🀄️open in new window 🔗open in new window
490迷宫 🔒深度优先搜索 广度优先搜索 数组 1+🟠🀄️open in new window 🔗open in new window
491非递减子序列位运算 数组 哈希表 1+🟠🀄️open in new window 🔗open in new window
493翻转对树状数组 线段树 数组 4+🔴🀄️open in new window 🔗open in new window
494目标和[✓]数组 动态规划 回溯🟠🀄️open in new window 🔗open in new window
495提莫攻击数组 模拟🟢🀄️open in new window 🔗open in new window
496下一个更大元素 I[✓] 数组 哈希表 1+🟢🀄️open in new window 🔗open in new window
497非重叠矩形中的随机点水塘抽样 数组 数学 4+🟠🀄️open in new window 🔗open in new window
498对角线遍历[✓]数组 矩阵 模拟🟠🀄️open in new window 🔗open in new window
499迷宫 III 🔒深度优先搜索 广度优先搜索 5+🔴🀄️open in new window 🔗open in new window
500键盘行数组 哈希表 字符串🟢🀄️open in new window 🔗open in new window
502IPO[✓]贪心 数组 排序 1+🔴🀄️open in new window 🔗open in new window
503下一个更大元素 II[✓] 数组 单调栈🟠🀄️open in new window 🔗open in new window
505迷宫 II 🔒深度优先搜索 广度优先搜索 4+🟠🀄️open in new window 🔗open in new window
506相对名次[✓]数组 排序 堆(优先队列)🟢🀄️open in new window 🔗open in new window
517超级洗衣机贪心 数组🔴🀄️open in new window 🔗open in new window
518零钱兑换 II[✓]数组 动态规划🟠🀄️open in new window 🔗open in new window
522最长特殊序列 II数组 哈希表 双指针 2+🟠🀄️open in new window 🔗open in new window
523连续的子数组和数组 哈希表 数学 1+🟠🀄️open in new window 🔗open in new window
524通过删除字母匹配到字典里最长单词数组 双指针 字符串 1+🟠🀄️open in new window 🔗open in new window
525连续数组数组 哈希表 前缀和🟠🀄️open in new window 🔗open in new window
526优美的排列位运算 数组 动态规划 2+🟠🀄️open in new window 🔗open in new window
527单词缩写 🔒贪心 字典树 数组 2+🔴🀄️open in new window 🔗open in new window
528按权重随机选择数组 数学 二分查找 2+🟠🀄️open in new window 🔗open in new window
529扫雷游戏深度优先搜索 广度优先搜索 数组 1+🟠🀄️open in new window 🔗open in new window
531孤独像素 I 🔒数组 哈希表 矩阵🟠🀄️open in new window 🔗open in new window
532数组中的 k-diff 数对数组 哈希表 双指针 2+🟠🀄️open in new window 🔗open in new window
533孤独像素 II 🔒数组 哈希表 矩阵🟠🀄️open in new window 🔗open in new window
539最小时间差数组 数学 字符串 1+🟠🀄️open in new window 🔗open in new window
540有序数组中的单一元素数组 二分查找🟠🀄️open in new window 🔗open in new window
54201 矩阵广度优先搜索 数组 动态规划 1+🟠🀄️open in new window 🔗open in new window
546移除盒子记忆化搜索 数组 动态规划🔴🀄️open in new window 🔗open in new window
548将数组分割成和相等的子数组 🔒数组 哈希表 前缀和🔴🀄️open in new window 🔗open in new window
553最优除法数组 数学 动态规划🟠🀄️open in new window 🔗open in new window
554砖墙数组 哈希表🟠🀄️open in new window 🔗open in new window
555分割连接字符串 🔒贪心 数组 字符串🟠🀄️open in new window 🔗open in new window
560和为 K 的子数组[✓]数组 哈希表 前缀和🟠🀄️open in new window 🔗open in new window
561数组拆分贪心 数组 计数排序 1+🟢🀄️open in new window 🔗open in new window
562矩阵中最长的连续1线段 🔒数组 动态规划 矩阵🟠🀄️open in new window 🔗open in new window
565数组嵌套深度优先搜索 数组🟠🀄️open in new window 🔗open in new window
566重塑矩阵数组 矩阵 模拟🟢🀄️open in new window 🔗open in new window
568最大休假天数 🔒数组 动态规划 矩阵🔴🀄️open in new window 🔗open in new window
573松鼠模拟 🔒数组 数学🟠🀄️open in new window 🔗open in new window
575分糖果数组 哈希表🟢🀄️open in new window 🔗open in new window
581最短无序连续子数组 贪心 数组 3+🟠🀄️open in new window 🔗open in new window
582杀掉进程 🔒 深度优先搜索 广度优先搜索 2+🟠🀄️open in new window 🔗open in new window
587安装栅栏几何 数组 数学🔴🀄️open in new window 🔗open in new window
594最长和谐子序列数组 哈希表 计数 2+🟢🀄️open in new window 🔗open in new window
598区间加法 II数组 数学🟢🀄️open in new window 🔗open in new window
599两个列表的最小索引总和数组 哈希表 字符串🟢🀄️open in new window 🔗open in new window
604迭代压缩字符串 🔒设计 数组 字符串 1+🟢🀄️open in new window 🔗open in new window
605种花问题[✓]贪心 数组🟢🀄️open in new window 🔗open in new window
609在系统中查找重复文件数组 哈希表 字符串🟠🀄️open in new window 🔗open in new window
611有效三角形的个数[✓]贪心 数组 双指针 2+🟠🀄️open in new window 🔗open in new window
616给字符串添加加粗标签 🔒字典树 数组 哈希表 2+🟠🀄️open in new window 🔗open in new window
621任务调度器贪心 数组 哈希表 3+🟠🀄️open in new window 🔗open in new window
622设计循环队列[✓]设计 队列 数组 1+🟠🀄️open in new window 🔗open in new window
624数组列表中的最大距离贪心 数组🟠🀄️open in new window 🔗open in new window
628三个数的最大乘积数组 数学 排序🟢🀄️open in new window 🔗open in new window
630课程表 III贪心 数组 排序 1+🔴🀄️open in new window 🔗open in new window
631设计 Excel 求和公式 🔒 设计 拓扑排序 2+🔴🀄️open in new window 🔗open in new window
632最小区间[✓]贪心 数组 哈希表 3+🔴🀄️open in new window 🔗open in new window
636函数的独占时间 数组🟠🀄️open in new window 🔗open in new window
638大礼包位运算 记忆化搜索 数组 3+🟠🀄️open in new window 🔗open in new window
641设计循环双端队列[✓]设计 队列 数组 1+🟠🀄️open in new window 🔗open in new window
643子数组最大平均数 I[✓]数组 滑动窗口🟢🀄️open in new window 🔗open in new window
644子数组最大平均数 II 🔒数组 二分查找 前缀和🔴🀄️open in new window 🔗open in new window
645错误的集合位运算 数组 哈希表 1+🟢🀄️open in new window 🔗open in new window
646最长数对链贪心 数组 动态规划 1+🟠🀄️open in new window 🔗open in new window
648单词替换字典树 数组 哈希表 1+🟠🀄️open in new window 🔗open in new window
654最大二叉树[✓] 数组 3+🟠🀄️open in new window 🔗open in new window
656成本最小路径 🔒数组 动态规划🔴🀄️open in new window 🔗open in new window
658找到 K 个最接近的元素数组 双指针 二分查找 3+🟠🀄️open in new window 🔗open in new window
659分割数组为连续子序列贪心 数组 哈希表 1+🟠🀄️open in new window 🔗open in new window
661图片平滑器数组 矩阵🟢🀄️open in new window 🔗open in new window
665非递减数列数组🟠🀄️open in new window 🔗open in new window
666路径总和 IV 🔒 深度优先搜索 数组 2+🟠🀄️open in new window 🔗open in new window
667优美的排列 II数组 数学🟠🀄️open in new window 🔗open in new window
673最长递增子序列的个数树状数组 线段树 数组 1+🟠🀄️open in new window 🔗open in new window
674最长连续递增序列数组🟢🀄️open in new window 🔗open in new window
675为高尔夫比赛砍树广度优先搜索 数组 矩阵 1+🔴🀄️open in new window 🔗open in new window
67924 点游戏数组 数学 回溯🔴🀄️open in new window 🔗open in new window
682棒球比赛[✓] 数组 模拟🟢🀄️open in new window 🔗open in new window
683K 个关闭的灯泡 🔒树状数组 线段树 队列 5+🔴🀄️open in new window 🔗open in new window
689三个无重叠子数组的最大和数组 动态规划🔴🀄️open in new window 🔗open in new window
690员工的重要性 深度优先搜索 广度优先搜索 2+🟠🀄️open in new window 🔗open in new window
691贴纸拼词位运算 数组 字符串 3+🔴🀄️open in new window 🔗open in new window
695岛屿的最大面积[✓]深度优先搜索 广度优先搜索 并查集 2+🟠🀄️open in new window 🔗open in new window
697数组的度数组 哈希表🟢🀄️open in new window 🔗open in new window
698划分为k个相等的子集位运算 记忆化搜索 数组 3+🟠🀄️open in new window 🔗open in new window
699掉落的方块线段树 数组 有序集合🔴🀄️open in new window 🔗open in new window
702搜索长度未知的有序数组 🔒数组 二分查找 交互🟠🀄️open in new window 🔗open in new window
704二分查找[✓]数组 二分查找🟢🀄️open in new window 🔗open in new window
705设计哈希集合[✓]设计 数组 哈希表 2+🟢🀄️open in new window 🔗open in new window
706设计哈希映射[✓]设计 数组 哈希表 2+🟢🀄️open in new window 🔗open in new window
710黑名单中的随机数数组 哈希表 数学 3+🔴🀄️open in new window 🔗open in new window
713乘积小于 K 的子数组数组 二分查找 前缀和 1+🟠🀄️open in new window 🔗open in new window
714买卖股票的最佳时机含手续费[✓]贪心 数组 动态规划🟠🀄️open in new window 🔗open in new window
7171 比特与 2 比特字符数组🟢🀄️open in new window 🔗open in new window
718最长重复子数组数组 二分查找 动态规划 3+🟠🀄️open in new window 🔗open in new window
719找出第 K 小的数对距离数组 双指针 二分查找 1+🔴🀄️open in new window 🔗open in new window
720词典中最长的单词字典树 数组 哈希表 2+🟠🀄️open in new window 🔗open in new window
721账户合并深度优先搜索 广度优先搜索 并查集 4+🟠🀄️open in new window 🔗open in new window
722删除注释数组 字符串🟠🀄️open in new window 🔗open in new window
723粉碎糖果 🔒数组 双指针 矩阵 1+🟠🀄️open in new window 🔗open in new window
724寻找数组的中心下标[✓]数组 前缀和🟢🀄️open in new window 🔗open in new window
729我的日程安排表 I[✓]设计 线段树 数组 2+🟠🀄️open in new window 🔗open in new window
731我的日程安排表 II[✓]设计 线段树 数组 3+🟠🀄️open in new window 🔗open in new window
733图像渲染深度优先搜索 广度优先搜索 数组 1+🟢🀄️open in new window 🔗open in new window
734句子相似性 🔒数组 哈希表 字符串🟢🀄️open in new window 🔗open in new window
735小行星碰撞[✓] 数组 模拟🟠🀄️open in new window 🔗open in new window
737句子相似性 II 🔒深度优先搜索 广度优先搜索 并查集 3+🟠🀄️open in new window 🔗open in new window
739每日温度[✓] 数组 单调栈🟠🀄️open in new window 🔗open in new window
740删除并获得点数数组 哈希表 动态规划🟠🀄️open in new window 🔗open in new window
741摘樱桃数组 动态规划 矩阵🔴🀄️open in new window 🔗open in new window
744寻找比目标字母大的最小字母数组 二分查找🟢🀄️open in new window 🔗open in new window
745前缀和后缀搜索设计 字典树 数组 2+🔴🀄️open in new window 🔗open in new window
746使用最小花费爬楼梯[✓]数组 动态规划🟢🀄️open in new window 🔗open in new window
747至少是其他数字两倍的最大数数组 排序🟢🀄️open in new window 🔗open in new window
748最短补全词数组 哈希表 字符串🟢🀄️open in new window 🔗open in new window
749隔离病毒深度优先搜索 广度优先搜索 数组 2+🔴🀄️open in new window 🔗open in new window
750角矩形的数量 🔒数组 数学 动态规划 1+🟠🀄️open in new window 🔗open in new window
752打开转盘锁广度优先搜索 数组 哈希表 1+🟠🀄️open in new window 🔗open in new window
755倒水 🔒数组 模拟🟠🀄️open in new window 🔗open in new window
757设置交集大小至少为2贪心 数组 排序🔴🀄️open in new window 🔗open in new window
758字符串中的加粗单词 🔒字典树 数组 哈希表 2+🟠🀄️open in new window 🔗open in new window
759员工空闲时间 🔒数组 排序 堆(优先队列)🔴🀄️open in new window 🔗open in new window
760找出变位映射 🔒数组 哈希表🟢🀄️open in new window 🔗open in new window
764最大加号标志数组 动态规划🟠🀄️open in new window 🔗open in new window
766托普利茨矩阵数组 矩阵🟢🀄️open in new window 🔗open in new window
768最多能完成排序的块 II 贪心 数组 2+🔴🀄️open in new window 🔗open in new window
769最多能完成排序的块 贪心 数组 2+🟠🀄️open in new window 🔗open in new window
773滑动谜题广度优先搜索 数组 矩阵🔴🀄️open in new window 🔗open in new window
774最小化去加油站的最大距离 🔒数组 二分查找🔴🀄️open in new window 🔗open in new window
775全局倒置与局部倒置数组 数学🟠🀄️open in new window 🔗open in new window
778水位上升的泳池中游泳深度优先搜索 广度优先搜索 并查集 4+🔴🀄️open in new window 🔗open in new window
781森林中的兔子贪心 数组 哈希表 1+🟠🀄️open in new window 🔗open in new window
782变为棋盘位运算 数组 数学 1+🔴🀄️open in new window 🔗open in new window
786第 K 个最小的质数分数数组 双指针 二分查找 2+🟠🀄️open in new window 🔗open in new window
789逃脱阻碍者数组 数学🟠🀄️open in new window 🔗open in new window
792匹配子序列的单词数字典树 数组 哈希表 4+🟠🀄️open in new window 🔗open in new window
794有效的井字游戏数组 矩阵🟠🀄️open in new window 🔗open in new window
795区间子数组个数数组 双指针🟠🀄️open in new window 🔗open in new window
798得分最高的最小轮调数组 前缀和🔴🀄️open in new window 🔗open in new window
801使序列递增的最小交换次数数组 动态规划🔴🀄️open in new window 🔗open in new window
803打砖块并查集 数组 矩阵🔴🀄️open in new window 🔗open in new window
804唯一摩尔斯密码词数组 哈希表 字符串🟢🀄️open in new window 🔗open in new window
805数组的均值分割位运算 数组 数学 2+🔴🀄️open in new window 🔗open in new window
806写字符串需要的行数数组 字符串🟢🀄️open in new window 🔗open in new window
807保持城市天际线贪心 数组 矩阵🟠🀄️open in new window 🔗open in new window
809情感丰富的文字数组 双指针 字符串🟠🀄️open in new window 🔗open in new window
810黑板异或游戏位运算 脑筋急转弯 数组 2+🔴🀄️open in new window 🔗open in new window
811子域名访问计数数组 哈希表 字符串 1+🟠🀄️open in new window 🔗open in new window
812最大三角形面积几何 数组 数学🟢🀄️open in new window 🔗open in new window
813最大平均值和的分组数组 动态规划 前缀和🟠🀄️open in new window 🔗open in new window
815公交路线广度优先搜索 数组 哈希表🔴🀄️open in new window 🔗open in new window
817链表组件数组 哈希表 链表🟠🀄️open in new window 🔗open in new window
819最常见的单词数组 哈希表 字符串 1+🟢🀄️open in new window 🔗open in new window
820单词的压缩编码字典树 数组 哈希表 1+🟠🀄️open in new window 🔗open in new window
821字符的最短距离数组 双指针 字符串🟢🀄️open in new window 🔗open in new window
822翻转卡片游戏数组 哈希表🟠🀄️open in new window 🔗open in new window
823带因子的二叉树数组 哈希表 动态规划 1+🟠🀄️open in new window 🔗open in new window
825适龄的朋友数组 双指针 二分查找 1+🟠🀄️open in new window 🔗open in new window
826安排工作以达到最大收益贪心 数组 双指针 2+🟠🀄️open in new window 🔗open in new window
827最大人工岛深度优先搜索 广度优先搜索 并查集 2+🔴🀄️open in new window 🔗open in new window
832翻转图像位运算 数组 双指针 2+🟢🀄️open in new window 🔗open in new window
833字符串中的查找与替换数组 哈希表 字符串 1+🟠🀄️open in new window 🔗open in new window
835图像重叠数组 矩阵🟠🀄️open in new window 🔗open in new window
839相似字符串组深度优先搜索 广度优先搜索 并查集 3+🔴🀄️open in new window 🔗open in new window
840矩阵中的幻方数组 哈希表 数学 1+🟠🀄️open in new window 🔗open in new window
843猜猜这个单词数组 数学 字符串 2+🔴🀄️open in new window 🔗open in new window
845数组中的最长山脉[✓]数组 双指针 动态规划 1+🟠🀄️open in new window 🔗open in new window
846一手顺子贪心 数组 哈希表 1+🟠🀄️open in new window 🔗open in new window
848字母移位数组 字符串 前缀和🟠🀄️open in new window 🔗open in new window
849到最近的人的最大距离数组🟠🀄️open in new window 🔗open in new window
850矩形面积 II线段树 数组 有序集合 1+🔴🀄️open in new window 🔗open in new window
851喧闹和富有深度优先搜索 拓扑排序 1+🟠🀄️open in new window 🔗open in new window
852山脉数组的峰顶索引[✓]数组 二分查找🟠🀄️open in new window 🔗open in new window
853车队 数组 排序 1+🟠🀄️open in new window 🔗open in new window
857雇佣 K 名工人的最低成本贪心 数组 排序 1+🔴🀄️open in new window 🔗open in new window
860柠檬水找零贪心 数组🟢🀄️open in new window 🔗open in new window
861翻转矩阵后的得分贪心 位运算 数组 1+🟠🀄️open in new window 🔗open in new window
862和至少为 K 的最短子数组[✓]队列 数组 二分查找 4+🔴🀄️open in new window 🔗open in new window
864获取所有钥匙的最短路径位运算 广度优先搜索 数组 1+🔴🀄️open in new window 🔗open in new window
867转置矩阵数组 矩阵 模拟🟢🀄️open in new window 🔗open in new window
870优势洗牌贪心 数组 双指针 1+🟠🀄️open in new window 🔗open in new window
871最低加油次数贪心 数组 动态规划 1+🔴🀄️open in new window 🔗open in new window
873最长的斐波那契子序列的长度数组 哈希表 动态规划🟠🀄️open in new window 🔗open in new window
874模拟行走机器人数组 哈希表 模拟🟠🀄️open in new window 🔗open in new window
875爱吃香蕉的珂珂数组 二分查找🟠🀄️open in new window 🔗open in new window
877石子游戏数组 数学 动态规划 1+🟠🀄️open in new window 🔗open in new window
879盈利计划数组 动态规划🔴🀄️open in new window 🔗open in new window
881救生艇贪心 数组 双指针 1+🟠🀄️open in new window 🔗open in new window
883三维形体投影面积几何 数组 数学 1+🟢🀄️open in new window 🔗open in new window
885螺旋矩阵 III数组 矩阵 模拟🟠🀄️open in new window 🔗open in new window
888公平的糖果交换数组 哈希表 二分查找 1+🟢🀄️open in new window 🔗open in new window
889根据前序和后序遍历构造二叉树[✓] 数组 哈希表 2+🟠🀄️open in new window 🔗open in new window
890查找和替换模式数组 哈希表 字符串🟠🀄️open in new window 🔗open in new window
891子序列宽度之和数组 数学 排序🔴🀄️open in new window 🔗open in new window
892三维形体的表面积几何 数组 数学 1+🟢🀄️open in new window 🔗open in new window
893特殊等价字符串组数组 哈希表 字符串 1+🟠🀄️open in new window 🔗open in new window
896单调数列数组🟢🀄️open in new window 🔗open in new window
898子数组按位或操作位运算 数组 动态规划🟠🀄️open in new window 🔗open in new window
900RLE 迭代器设计 数组 计数 1+🟠🀄️open in new window 🔗open in new window
902最大为 N 的数字组合数组 数学 字符串 2+🔴🀄️open in new window 🔗open in new window
904水果成篮数组 哈希表 滑动窗口🟠🀄️open in new window 🔗open in new window
905按奇偶排序数组数组 双指针 排序🟢🀄️open in new window 🔗open in new window
907子数组的最小值之和 数组 动态规划 1+🟠🀄️open in new window 🔗open in new window
908最小差值 I数组 数学🟢🀄️open in new window 🔗open in new window
909蛇梯棋[✓]广度优先搜索 数组 矩阵🟠🀄️open in new window 🔗open in new window
910最小差值 II贪心 数组 数学 1+🟠🀄️open in new window 🔗open in new window
911在线选举设计 数组 哈希表 1+🟠🀄️open in new window 🔗open in new window
912排序数组数组 分治 桶排序 5+🟠🀄️open in new window 🔗open in new window
914卡牌分组数组 哈希表 数学 2+🟢🀄️open in new window 🔗open in new window
915分割数组数组🟠🀄️open in new window 🔗open in new window
916单词子集数组 哈希表 字符串🟠🀄️open in new window 🔗open in new window
918环形子数组的最大和[✓]队列 数组 分治 2+🟠🀄️open in new window 🔗open in new window
922按奇偶排序数组 II数组 双指针 排序🟢🀄️open in new window 🔗open in new window
923三数之和的多种可能数组 哈希表 双指针 2+🟠🀄️open in new window 🔗open in new window
924尽量减少恶意软件的传播深度优先搜索 广度优先搜索 并查集 3+🔴🀄️open in new window 🔗open in new window
927三等分数组 数学🔴🀄️open in new window 🔗open in new window
928尽量减少恶意软件的传播 II深度优先搜索 广度优先搜索 并查集 3+🔴🀄️open in new window 🔗open in new window
929独特的电子邮件地址数组 哈希表 字符串🟢🀄️open in new window 🔗open in new window
930和相同的二元子数组数组 哈希表 前缀和 1+🟠🀄️open in new window 🔗open in new window
931下降路径最小和[✓]数组 动态规划 矩阵🟠🀄️open in new window 🔗open in new window
932漂亮数组数组 数学 分治🟠🀄️open in new window 🔗open in new window
934最短的桥深度优先搜索 广度优先搜索 数组 1+🟠🀄️open in new window 🔗open in new window
937重新排列日志文件数组 字符串 排序🟠🀄️open in new window 🔗open in new window
939最小面积矩形几何 数组 哈希表 2+🟠🀄️open in new window 🔗open in new window
941有效的山脉数组数组🟢🀄️open in new window 🔗open in new window
942增减字符串匹配贪心 数组 双指针 1+🟢🀄️open in new window 🔗open in new window
943最短超级串位运算 数组 字符串 2+🔴🀄️open in new window 🔗open in new window
944删列造序数组 字符串🟢🀄️open in new window 🔗open in new window
945使数组唯一的最小增量[✓]贪心 数组 计数 1+🟠🀄️open in new window 🔗open in new window
946验证栈序列[✓] 数组 模拟🟠🀄️open in new window 🔗open in new window
948令牌放置贪心 数组 双指针 1+🟠🀄️open in new window 🔗open in new window
949给定数字能组成的最大时间数组 字符串 枚举🟠🀄️open in new window 🔗open in new window
950按递增顺序显示卡牌队列 数组 排序 1+🟠🀄️open in new window 🔗open in new window
952按公因数计算最大组件大小并查集 数组 哈希表 2+🔴🀄️open in new window 🔗open in new window
953验证外星语词典数组 哈希表 字符串🟢🀄️open in new window 🔗open in new window
954二倍数对数组[✓]贪心 数组 哈希表 1+🟠🀄️open in new window 🔗open in new window
955删列造序 II贪心 数组 字符串🟠🀄️open in new window 🔗open in new window
956最高的广告牌数组 动态规划🔴🀄️open in new window 🔗open in new window
957N 天后的牢房位运算 数组 哈希表 1+🟠🀄️open in new window 🔗open in new window
959由斜杠划分区域深度优先搜索 广度优先搜索 并查集 3+🟠🀄️open in new window 🔗open in new window
960删列造序 III数组 字符串 动态规划🔴🀄️open in new window 🔗open in new window
961在长度 2N 的数组中找出重复 N 次的元素数组 哈希表🟢🀄️open in new window 🔗open in new window
962最大宽度坡[✓] 数组 单调栈🟠🀄️open in new window 🔗open in new window
963最小面积矩形 II几何 数组 数学🟠🀄️open in new window 🔗open in new window
966元音拼写检查器数组 哈希表 字符串🟠🀄️open in new window 🔗open in new window
969煎饼排序贪心 数组 双指针 1+🟠🀄️open in new window 🔗open in new window
973最接近原点的 K 个点[✓]几何 数组 数学 4+🟠🀄️open in new window 🔗open in new window
974和可被 K 整除的子数组数组 哈希表 前缀和🟠🀄️open in new window 🔗open in new window
975奇偶跳 数组 动态规划 2+🔴🀄️open in new window 🔗open in new window
976三角形的最大周长贪心 数组 数学 1+🟢🀄️open in new window 🔗open in new window
977有序数组的平方数组 双指针 排序🟢🀄️open in new window 🔗open in new window
978最长湍流子数组数组 动态规划 滑动窗口🟠🀄️open in new window 🔗open in new window
980不同路径 III位运算 数组 回溯 1+🔴🀄️open in new window 🔗open in new window
982按位与为零的三元组位运算 数组 哈希表🔴🀄️open in new window 🔗open in new window
983最低票价数组 动态规划🟠🀄️open in new window 🔗open in new window
985查询后的偶数和数组 模拟🟠🀄️open in new window 🔗open in new window
986区间列表的交集[✓]数组 双指针🟠🀄️open in new window 🔗open in new window
989数组形式的整数加法数组 数学🟢🀄️open in new window 🔗open in new window
990等式方程的可满足性并查集 数组 1+🟠🀄️open in new window 🔗open in new window
992K 个不同整数的子数组数组 哈希表 计数 1+🔴🀄️open in new window 🔗open in new window
994腐烂的橘子[✓]广度优先搜索 数组 矩阵🟠🀄️open in new window 🔗open in new window
995K 连续位的最小翻转次数位运算 队列 数组 2+🔴🀄️open in new window 🔗open in new window
996平方数组的数目位运算 数组 哈希表 4+🔴🀄️open in new window 🔗open in new window
997找到小镇的法官 数组 哈希表🟢🀄️open in new window 🔗open in new window
999可以被一步捕获的棋子数数组 矩阵 模拟🟢🀄️open in new window 🔗open in new window
1000合并石头的最低成本数组 动态规划 前缀和🔴🀄️open in new window 🔗open in new window
1001网格照明数组 哈希表🔴🀄️open in new window 🔗open in new window
1002查找共用字符数组 哈希表 字符串🟢🀄️open in new window 🔗open in new window
1004最大连续1的个数 III[✓]数组 二分查找 前缀和 1+🟠🀄️open in new window 🔗open in new window
1005K 次取反后最大化的数组和贪心 数组 排序🟢🀄️open in new window 🔗open in new window
1007行相等的最少多米诺旋转贪心 数组🟠🀄️open in new window 🔗open in new window
1008前序遍历构造二叉搜索树[✓] 二叉搜索树 3+🟠🀄️open in new window 🔗open in new window
1010总持续时间可被 60 整除的歌曲数组 哈希表 计数🟠🀄️open in new window 🔗open in new window
1011在 D 天内送达包裹的能力数组 二分查找🟠🀄️open in new window 🔗open in new window
1013将数组分成和相等的三个部分贪心 数组🟢🀄️open in new window 🔗open in new window
1014最佳观光组合数组 动态规划🟠🀄️open in new window 🔗open in new window
1018可被 5 整除的二进制前缀位运算 数组🟢🀄️open in new window 🔗open in new window
1019链表中的下一个更大节点 数组 链表 1+🟠🀄️open in new window 🔗open in new window
1020飞地的数量深度优先搜索 广度优先搜索 并查集 2+🟠🀄️open in new window 🔗open in new window
1023驼峰式匹配字典树 数组 双指针 2+🟠🀄️open in new window 🔗open in new window
1024视频拼接贪心 数组 动态规划🟠🀄️open in new window 🔗open in new window
1027最长等差数列数组 哈希表 二分查找 1+🟠🀄️open in new window 🔗open in new window
1029两地调度贪心 数组 排序🟠🀄️open in new window 🔗open in new window
1030距离顺序排列矩阵单元格几何 数组 数学 2+🟢🀄️open in new window 🔗open in new window
1031两个非重叠子数组的最大和数组 动态规划 滑动窗口🟠🀄️open in new window 🔗open in new window
1032字符流设计 字典树 数组 2+🔴🀄️open in new window 🔗open in new window
1034边界着色深度优先搜索 广度优先搜索 数组 1+🟠🀄️open in new window 🔗open in new window
1035不相交的线数组 动态规划🟠🀄️open in new window 🔗open in new window
1036逃离大迷宫深度优先搜索 广度优先搜索 数组 1+🔴🀄️open in new window 🔗open in new window
1037有效的回旋镖几何 数组 数学🟢🀄️open in new window 🔗open in new window
1039多边形三角剖分的最低得分数组 动态规划🟠🀄️open in new window 🔗open in new window
1040移动石子直到连续 II数组 数学 双指针 1+🟠🀄️open in new window 🔗open in new window
1043分隔数组以得到最大和数组 动态规划🟠🀄️open in new window 🔗open in new window
1046最后一块石头的重量数组 堆(优先队列)🟢🀄️open in new window 🔗open in new window
1048最长字符串链数组 哈希表 双指针 3+🟠🀄️open in new window 🔗open in new window
1049最后一块石头的重量 II[✓]数组 动态规划🟠🀄️open in new window 🔗open in new window
1051高度检查器数组 计数排序 排序🟢🀄️open in new window 🔗open in new window
1052爱生气的书店老板数组 滑动窗口🟠🀄️open in new window 🔗open in new window
1053交换一次的先前排列贪心 数组🟠🀄️open in new window 🔗open in new window
1054距离相等的条形码贪心 数组 哈希表 3+🟠🀄️open in new window 🔗open in new window
1057校园自行车分配 🔒贪心 数组 排序🟠🀄️open in new window 🔗open in new window
1058最小化舍入误差以满足目标 🔒贪心 数组 数学 2+🟠🀄️open in new window 🔗open in new window
1060有序数组中的缺失元素 🔒数组 二分查找🟠🀄️open in new window 🔗open in new window
1063有效子数组的数目 🔒 数组 单调栈🔴🀄️open in new window 🔗open in new window
1064不动点 🔒数组 二分查找🟢🀄️open in new window 🔗open in new window
1065字符串的索引对 🔒字典树 数组 字符串 1+🟢🀄️open in new window 🔗open in new window
1066校园自行车分配 II 🔒位运算 数组 动态规划 2+🟠🀄️open in new window 🔗open in new window
1072按列翻转得到最大值等行数数组 哈希表 矩阵🟠🀄️open in new window 🔗open in new window
1073负二进制数相加数组 数学🟠🀄️open in new window 🔗open in new window
1074元素和为目标值的子矩阵数量数组 哈希表 矩阵 1+🔴🀄️open in new window 🔗open in new window
1085最小元素各数位之和 🔒数组 数学🟢🀄️open in new window 🔗open in new window
1086前五科的均分 🔒数组 哈希表 排序 1+🟢🀄️open in new window 🔗open in new window
1089复写零数组 双指针🟢🀄️open in new window 🔗open in new window
1090受标签影响的最大值贪心 数组 哈希表 2+🟠🀄️open in new window 🔗open in new window
1091二进制矩阵中的最短路径广度优先搜索 数组 矩阵🟠🀄️open in new window 🔗open in new window
1093大样本统计数组 数学 概率与统计🟠🀄️open in new window 🔗open in new window
1094拼车数组 前缀和 排序 2+🟠🀄️open in new window 🔗open in new window
1095山脉数组中查找目标值数组 二分查找 交互🔴🀄️open in new window 🔗open in new window
1099小于 K 的两数之和 🔒数组 双指针 二分查找 1+🟢🀄️open in new window 🔗open in new window
1101彼此熟识的最早时间 🔒并查集 数组 排序🟠🀄️open in new window 🔗open in new window
1102得分最高的路径 🔒深度优先搜索 广度优先搜索 并查集 4+🟠🀄️open in new window 🔗open in new window
1105填充书架数组 动态规划🟠🀄️open in new window 🔗open in new window
1109航班预订统计数组 前缀和🟠🀄️open in new window 🔗open in new window
1110删点成林 深度优先搜索 数组 2+🟠🀄️open in new window 🔗open in new window
1121将数组分成几个递增序列 🔒数组 计数🔴🀄️open in new window 🔗open in new window
1122数组的相对排序数组 哈希表 计数排序 1+🟢🀄️open in new window 🔗open in new window
1124表现良好的最长时间段 数组 哈希表 2+🟠🀄️open in new window 🔗open in new window
1125最小的必要团队位运算 数组 动态规划 1+🔴🀄️open in new window 🔗open in new window
1128等价多米诺骨牌对的数量数组 哈希表 计数🟢🀄️open in new window 🔗open in new window
1130叶值的最小代价生成树 贪心 数组 2+🟠🀄️open in new window 🔗open in new window
1131绝对值表达式的最大值数组 数学🟠🀄️open in new window 🔗open in new window
1133最大唯一数 🔒数组 哈希表 排序🟢🀄️open in new window 🔗open in new window
1139最大的以 1 为边界的正方形数组 动态规划 矩阵🟠🀄️open in new window 🔗open in new window
1140石子游戏 II数组 数学 动态规划 2+🟠🀄️open in new window 🔗open in new window
1144递减元素使数组呈锯齿状贪心 数组🟠🀄️open in new window 🔗open in new window
1146快照数组设计 数组 哈希表 1+🟠🀄️open in new window 🔗open in new window
1150检查一个数是否在数组中占绝大多数 🔒数组 二分查找🟢🀄️open in new window 🔗open in new window
1151最少交换次数来组合所有的 1 🔒数组 滑动窗口🟠🀄️open in new window 🔗open in new window
1152用户网站访问行为分析 🔒数组 哈希表 排序🟠🀄️open in new window 🔗open in new window
1157子数组中占绝大多数的元素设计 树状数组 线段树 2+🔴🀄️open in new window 🔗open in new window
1160拼写单词数组 哈希表 字符串 1+🟢🀄️open in new window 🔗open in new window
1162地图分析广度优先搜索 数组 动态规划 1+🟠🀄️open in new window 🔗open in new window
1167连接木棍的最低费用 🔒贪心 数组 堆(优先队列)🟠🀄️open in new window 🔗open in new window
1169查询无效交易数组 哈希表 字符串 1+🟠🀄️open in new window 🔗open in new window
1170比较字符串最小字母出现频次数组 哈希表 字符串 2+🟠🀄️open in new window 🔗open in new window
1176健身计划评估 🔒数组 滑动窗口🟢🀄️open in new window 🔗open in new window
1177构建回文串检测位运算 数组 哈希表 2+🟠🀄️open in new window 🔗open in new window
1178猜字谜位运算 字典树 数组 2+🔴🀄️open in new window 🔗open in new window
1181前后拼接 🔒数组 哈希表 字符串 1+🟠🀄️open in new window 🔗open in new window
1182与目标颜色间的最短距离 🔒数组 二分查找 动态规划🟠🀄️open in new window 🔗open in new window
1184公交站间的距离数组🟢🀄️open in new window 🔗open in new window
1186删除一次得到子数组最大和数组 动态规划🟠🀄️open in new window 🔗open in new window
1187使数组严格递增数组 二分查找 动态规划 1+🔴🀄️open in new window 🔗open in new window
1191K 次串联后最大子数组之和数组 动态规划🟠🀄️open in new window 🔗open in new window
1196最多可以买到的苹果数量 🔒贪心 数组 排序🟢🀄️open in new window 🔗open in new window
1198找出所有行中最小公共元素 🔒数组 哈希表 二分查找 2+🟠🀄️open in new window 🔗open in new window
1199建造街区的最短时间 🔒贪心 数组 数学 1+🔴🀄️open in new window 🔗open in new window
1200最小绝对差数组 排序🟢🀄️open in new window 🔗open in new window
1202交换字符串中的元素深度优先搜索 广度优先搜索 并查集 4+🟠🀄️open in new window 🔗open in new window
1207独一无二的出现次数[✓]数组 哈希表🟢🀄️open in new window 🔗open in new window
1210穿过迷宫的最少移动次数广度优先搜索 数组 矩阵🔴🀄️open in new window 🔗open in new window
1213三个有序数组的交集 🔒数组 哈希表 二分查找 1+🟢🀄️open in new window 🔗open in new window
1217玩筹码贪心 数组 数学🟢🀄️open in new window 🔗open in new window
1218最长定差子序列数组 哈希表 动态规划🟠🀄️open in new window 🔗open in new window
1219黄金矿工数组 回溯 矩阵🟠🀄️open in new window 🔗open in new window
1222可以攻击国王的皇后数组 矩阵 模拟🟠🀄️open in new window 🔗open in new window
1223掷骰子模拟数组 动态规划🔴🀄️open in new window 🔗open in new window
1224最大相等频率数组 哈希表🔴🀄️open in new window 🔗open in new window
1228等差数列中缺失的数字 🔒数组 数学🟢🀄️open in new window 🔗open in new window
1229安排会议日程 🔒数组 双指针 排序🟠🀄️open in new window 🔗open in new window
1230抛掷硬币 🔒数组 数学 动态规划 1+🟠🀄️open in new window 🔗open in new window
1231分享巧克力 🔒数组 二分查找🔴🀄️open in new window 🔗open in new window
1232缀点成线几何 数组 数学🟢🀄️open in new window 🔗open in new window
1233删除子文件夹[✓]深度优先搜索 字典树 数组 1+🟠🀄️open in new window 🔗open in new window
1235规划兼职工作数组 二分查找 动态规划 1+🔴🀄️open in new window 🔗open in new window
1239串联字符串的最大长度位运算 数组 字符串 1+🟠🀄️open in new window 🔗open in new window
1243数组变换 🔒数组 模拟🟢🀄️open in new window 🔗open in new window
1246删除回文子数组 🔒数组 动态规划🔴🀄️open in new window 🔗open in new window
1248统计「优美子数组」数组 哈希表 数学 2+🟠🀄️open in new window 🔗open in new window
1250检查「好数组」数组 数学 数论🔴🀄️open in new window 🔗open in new window
1252奇数值单元格的数目数组 数学 模拟🟢🀄️open in new window 🔗open in new window
1253重构 2 行二进制矩阵贪心 数组 矩阵🟠🀄️open in new window 🔗open in new window
1254统计封闭岛屿的数目深度优先搜索 广度优先搜索 并查集 2+🟠🀄️open in new window 🔗open in new window
1255得分最高的单词集合位运算 数组 字符串 3+🔴🀄️open in new window 🔗open in new window
1257最小公共区域 🔒 深度优先搜索 广度优先搜索 3+🟠🀄️open in new window 🔗open in new window
1258近义词句子 🔒并查集 数组 哈希表 2+🟠🀄️open in new window 🔗open in new window
1260二维网格迁移数组 矩阵 模拟🟢🀄️open in new window 🔗open in new window
1262可被三整除的最大和贪心 数组 动态规划 1+🟠🀄️open in new window 🔗open in new window
1263推箱子广度优先搜索 数组 矩阵 1+🔴🀄️open in new window 🔗open in new window
1266访问所有点的最小时间几何 数组 数学🟢🀄️open in new window 🔗open in new window
1267统计参与通信的服务器深度优先搜索 广度优先搜索 并查集 3+🟠🀄️open in new window 🔗open in new window
1268搜索推荐系统字典树 数组 字符串 3+🟠🀄️open in new window 🔗open in new window
1272删除区间 🔒数组🟠🀄️open in new window 🔗open in new window
1273删除树节点 🔒 深度优先搜索 广度优先搜索 1+🟠🀄️open in new window 🔗open in new window
1274矩形内船只的数目 🔒数组 分治 交互🔴🀄️open in new window 🔗open in new window
1275找出井字棋的获胜者数组 哈希表 矩阵 1+🟢🀄️open in new window 🔗open in new window
1277统计全为 1 的正方形子矩阵[✓]数组 动态规划 矩阵🟠🀄️open in new window 🔗open in new window
1282用户分组贪心 数组 哈希表🟠🀄️open in new window 🔗open in new window
1283使结果不超过阈值的最小除数数组 二分查找🟠🀄️open in new window 🔗open in new window
1284转化为全零矩阵的最少反转次数位运算 广度优先搜索 数组 2+🔴🀄️open in new window 🔗open in new window
1287有序数组中出现次数超过25%的元素数组🟢🀄️open in new window 🔗open in new window
1288删除被覆盖区间[✓]数组 排序🟠🀄️open in new window 🔗open in new window
1289下降路径最小和 II数组 动态规划 矩阵🔴🀄️open in new window 🔗open in new window
1292元素和小于等于阈值的正方形的最大边长数组 二分查找 矩阵 1+🟠🀄️open in new window 🔗open in new window
1293网格中的最短路径广度优先搜索 数组 矩阵🔴🀄️open in new window 🔗open in new window
1295统计位数为偶数的数字数组 数学🟢🀄️open in new window 🔗open in new window
1296划分数组为连续数字的集合贪心 数组 哈希表 1+🟠🀄️open in new window 🔗open in new window
1298你能从盒子里获得的最大糖果数广度优先搜索 数组🔴🀄️open in new window 🔗open in new window
1299将每个元素替换为右侧最大元素数组🟢🀄️open in new window 🔗open in new window
1300转变数组后最接近目标值的数组和数组 二分查找 排序🟠🀄️open in new window 🔗open in new window
1301最大得分的路径数目数组 动态规划 矩阵🔴🀄️open in new window 🔗open in new window
1304和为零的 N 个不同整数数组 数学🟢🀄️open in new window 🔗open in new window
1306跳跃游戏 III深度优先搜索 广度优先搜索 数组🟠🀄️open in new window 🔗open in new window
1307口算难题数组 数学 字符串 1+🔴🀄️open in new window 🔗open in new window
1310子数组异或查询位运算 数组 前缀和🟠🀄️open in new window 🔗open in new window
1311获取你好友已观看的视频广度优先搜索 数组 2+🟠🀄️open in new window 🔗open in new window
1313解压缩编码列表数组🟢🀄️open in new window 🔗open in new window
1314矩阵区域和数组 矩阵 前缀和🟠🀄️open in new window 🔗open in new window
1324竖直打印单词数组 字符串 模拟🟠🀄️open in new window 🔗open in new window
1326灌溉花园的最少水龙头数目贪心 数组 动态规划🔴🀄️open in new window 🔗open in new window
1329将矩阵按对角线排序数组 矩阵 排序🟠🀄️open in new window 🔗open in new window
1330翻转子数组得到最大的数组值贪心 数组 数学🔴🀄️open in new window 🔗open in new window
1331数组序号转换[✓]数组 哈希表 排序🟢🀄️open in new window 🔗open in new window
1333餐厅过滤器数组 排序🟠🀄️open in new window 🔗open in new window
1335工作计划的最低难度数组 动态规划🔴🀄️open in new window 🔗open in new window
1337矩阵中战斗力最弱的 K 行数组 二分查找 矩阵 2+🟢🀄️open in new window 🔗open in new window
1338数组大小减半贪心 数组 哈希表 2+🟠🀄️open in new window 🔗open in new window
1340跳跃游戏 V数组 动态规划 排序🔴🀄️open in new window 🔗open in new window
1343大小为 K 且平均值大于等于阈值的子数组数目数组 滑动窗口🟠🀄️open in new window 🔗open in new window
1345跳跃游戏 IV广度优先搜索 数组 哈希表🔴🀄️open in new window 🔗open in new window
1346检查整数及其两倍数是否存在数组 哈希表 双指针 2+🟢🀄️open in new window 🔗open in new window
1349参加考试的最大学生数位运算 数组 动态规划 2+🔴🀄️open in new window 🔗open in new window
1351统计有序矩阵中的负数数组 二分查找 矩阵🟢🀄️open in new window 🔗open in new window
1352最后 K 个数的乘积设计 队列 数组 2+🟠🀄️open in new window 🔗open in new window
1353最多可以参加的会议数目贪心 数组 排序 1+🟠🀄️open in new window 🔗open in new window
1354多次求和构造目标数组数组 堆(优先队列)🔴🀄️open in new window 🔗open in new window
1356根据数字二进制下 1 的数目排序位运算 数组 计数 1+🟢🀄️open in new window 🔗open in new window
1357每隔 n 个顾客打折设计 数组 哈希表🟠🀄️open in new window 🔗open in new window
1363形成三的最大倍数贪心 数组 动态规划🔴🀄️open in new window 🔗open in new window
1365有多少小于当前数字的数字数组 哈希表 计数 1+🟢🀄️open in new window 🔗open in new window
1366通过投票对团队排名数组 哈希表 字符串 2+🟠🀄️open in new window 🔗open in new window
1368使网格图至少有一条有效路径的最小代价广度优先搜索 数组 3+🔴🀄️open in new window 🔗open in new window
1375二进制字符串前缀一致的次数数组🟠🀄️open in new window 🔗open in new window
1380矩阵中的幸运数数组 矩阵🟢🀄️open in new window 🔗open in new window
1381设计一个支持增量操作的栈[✓] 设计 数组🟠🀄️open in new window 🔗open in new window
1383最大的团队表现值贪心 数组 排序 1+🔴🀄️open in new window 🔗open in new window
1385两个数组间的距离值数组 双指针 二分查找 1+🟢🀄️open in new window 🔗open in new window
1386安排电影院座位贪心 位运算 数组 1+🟠🀄️open in new window 🔗open in new window
13883n 块披萨贪心 数组 动态规划 1+🔴🀄️open in new window 🔗open in new window
1389按既定顺序创建目标数组数组 模拟🟢🀄️open in new window 🔗open in new window
1390四因数数组 数学🟠🀄️open in new window 🔗open in new window
1391检查网格中是否存在有效路径深度优先搜索 广度优先搜索 并查集 2+🟠🀄️open in new window 🔗open in new window
1394找出数组中的幸运数数组 哈希表 计数🟢🀄️open in new window 🔗open in new window
1395统计作战单位数树状数组 线段树 数组 1+🟠🀄️open in new window 🔗open in new window
1402做菜顺序贪心 数组 动态规划 1+🔴🀄️open in new window 🔗open in new window
1403非递增顺序的最小子序列贪心 数组 排序🟢🀄️open in new window 🔗open in new window
1406石子游戏 III数组 数学 动态规划 1+🔴🀄️open in new window 🔗open in new window
1408数组中的字符串匹配数组 字符串 字符串匹配🟢🀄️open in new window 🔗open in new window
1409查询带键的排列树状数组 数组 模拟🟠🀄️open in new window 🔗open in new window
1413逐步求和得到正数的最小值数组 前缀和🟢🀄️open in new window 🔗open in new window
1418点菜展示表数组 哈希表 字符串 2+🟠🀄️open in new window 🔗open in new window
1423可获得的最大点数数组 前缀和 滑动窗口🟠🀄️open in new window 🔗open in new window
1424对角线遍历 II数组 排序 堆(优先队列)🟠🀄️open in new window 🔗open in new window
1425带限制的子序列和队列 数组 动态规划 3+🔴🀄️open in new window 🔗open in new window
1426数元素 🔒数组 哈希表🟢🀄️open in new window 🔗open in new window
1427字符串的左右移 🔒数组 数学 字符串🟢🀄️open in new window 🔗open in new window
1428至少有一个 1 的最左端列 🔒数组 二分查找 交互 1+🟠🀄️open in new window 🔗open in new window
1429第一个唯一数字 🔒设计 队列 数组 2+🟠🀄️open in new window 🔗open in new window
1431拥有最多糖果的孩子[✓]数组🟢🀄️open in new window 🔗open in new window
1434每个人戴不同帽子的方案数位运算 数组 动态规划 1+🔴🀄️open in new window 🔗open in new window
1436旅行终点站数组 哈希表 字符串🟢🀄️open in new window 🔗open in new window
1437是否所有 1 都至少相隔 k 个元素数组🟢🀄️open in new window 🔗open in new window
1438绝对差不超过限制的最长连续子数组队列 数组 有序集合 3+🟠🀄️open in new window 🔗open in new window
1439有序矩阵中的第 k 个最小数组和数组 二分查找 矩阵 1+🔴🀄️open in new window 🔗open in new window
1441用栈操作构建数组[✓] 数组 模拟🟠🀄️open in new window 🔗open in new window
1442形成两个异或相等数组的三元组数目位运算 数组 哈希表 2+🟠🀄️open in new window 🔗open in new window
1444切披萨的方案数记忆化搜索 数组 动态规划 1+🔴🀄️open in new window 🔗open in new window
1449数位成本和为目标值的最大数字数组 动态规划🔴🀄️open in new window 🔗open in new window
1450在既定时间做作业的学生人数数组🟢🀄️open in new window 🔗open in new window
1452收藏清单数组 哈希表 字符串🟠🀄️open in new window 🔗open in new window
1453圆形靶内的最大飞镖数量几何 数组 数学🔴🀄️open in new window 🔗open in new window
1458两个子序列的最大点积数组 动态规划🔴🀄️open in new window 🔗open in new window
1460通过翻转子数组使两个数组相等数组 哈希表 排序🟢🀄️open in new window 🔗open in new window
1463摘樱桃 II数组 动态规划 矩阵🔴🀄️open in new window 🔗open in new window
1464数组中两元素的最大乘积数组 排序 堆(优先队列)🟢🀄️open in new window 🔗open in new window
1465切割后面积最大的蛋糕贪心 数组 排序🟠🀄️open in new window 🔗open in new window
1467两个盒子中球的颜色数相同的概率数组 数学 动态规划 3+🔴🀄️open in new window 🔗open in new window
1470重新排列数组数组🟢🀄️open in new window 🔗open in new window
1471数组中的 k 个最强值数组 双指针 排序🟠🀄️open in new window 🔗open in new window
1472设计浏览器历史记录[✓] 设计 数组 3+🟠🀄️open in new window 🔗open in new window
1473粉刷房子 III数组 动态规划🔴🀄️open in new window 🔗open in new window
1475商品折扣后的最终价格[✓] 数组 单调栈🟢🀄️open in new window 🔗open in new window
1476子矩形查询设计 数组 矩阵🟠🀄️open in new window 🔗open in new window
1477找两个和为目标值且不重叠的子数组数组 哈希表 二分查找 2+🟠🀄️open in new window 🔗open in new window
1478安排邮筒数组 数学 动态规划 1+🔴🀄️open in new window 🔗open in new window
1480一维数组的动态和数组 前缀和🟢🀄️open in new window 🔗open in new window
1481不同整数的最少数目贪心 数组 哈希表 2+🟠🀄️open in new window 🔗open in new window
1482制作 m 束花所需的最少天数数组 二分查找🟠🀄️open in new window 🔗open in new window
1487保证文件名唯一数组 哈希表 字符串🟠🀄️open in new window 🔗open in new window
1488避免洪水泛滥贪心 数组 哈希表 2+🟠🀄️open in new window 🔗open in new window
1491去掉最低工资和最高工资后的工资平均值数组 排序🟢🀄️open in new window 🔗open in new window
1493删掉一个元素以后全为 1 的最长子数组[✓]数组 动态规划 滑动窗口🟠🀄️open in new window 🔗open in new window
1497检查数组对是否可以被 k 整除[✓]数组 哈希表 计数🟠🀄️open in new window 🔗open in new window
1498满足条件的子序列数目数组 双指针 二分查找 1+🟠🀄️open in new window 🔗open in new window
1499满足不等式的最大值队列 数组 滑动窗口 2+🔴🀄️open in new window 🔗open in new window
1502判断能否形成等差数列数组 排序🟢🀄️open in new window 🔗open in new window
1503所有蚂蚁掉下来前的最后一刻脑筋急转弯 数组 模拟🟠🀄️open in new window 🔗open in new window
1504统计全 1 子矩形 数组 动态规划 2+🟠🀄️open in new window 🔗open in new window
1508子数组和排序后的区间和数组 双指针 二分查找 1+🟠🀄️open in new window 🔗open in new window
1509三次操作后最大值与最小值的最小差贪心 数组 排序🟠🀄️open in new window 🔗open in new window
1512好数对的数目数组 哈希表 数学 1+🟢🀄️open in new window 🔗open in new window
1514概率最大的路径 数组 最短路 1+🟠🀄️open in new window 🔗open in new window
1515服务中心的最佳位置几何 数组 数学 1+🔴🀄️open in new window 🔗open in new window
1521找到最接近目标值的函数值位运算 线段树 数组 1+🔴🀄️open in new window 🔗open in new window
1524和为奇数的子数组数目数组 数学 动态规划 1+🟠🀄️open in new window 🔗open in new window
1526形成目标数组的子数组最少增加次数 贪心 数组 2+🔴🀄️open in new window 🔗open in new window
1528重新排列字符串数组 字符串🟢🀄️open in new window 🔗open in new window
1533找到最大整数的索引 🔒数组 二分查找 交互🟠🀄️open in new window 🔗open in new window
1534统计好三元组数组 枚举🟢🀄️open in new window 🔗open in new window
1535找出数组游戏的赢家数组 模拟🟠🀄️open in new window 🔗open in new window
1536排布二进制网格的最少交换次数贪心 数组 矩阵🟠🀄️open in new window 🔗open in new window
1537最大得分贪心 数组 双指针 1+🔴🀄️open in new window 🔗open in new window
1538找出隐藏数组中出现次数最多的元素 🔒数组 数学 交互🟠🀄️open in new window 🔗open in new window
1539第 k 个缺失的正整数数组 二分查找🟢🀄️open in new window 🔗open in new window
1546和为目标值且不重叠的非空子数组的最大数目贪心 数组 哈希表 1+🟠🀄️open in new window 🔗open in new window
1547切棍子的最小成本数组 动态规划 排序🔴🀄️open in new window 🔗open in new window
1550存在连续三个奇数的数组数组🟢🀄️open in new window 🔗open in new window
1552两球之间的磁力数组 二分查找 排序🟠🀄️open in new window 🔗open in new window
1558得到目标数组的最少函数调用次数贪心 位运算 数组🟠🀄️open in new window 🔗open in new window
1559二维网格图中探测环深度优先搜索 广度优先搜索 并查集 2+🟠🀄️open in new window 🔗open in new window
1560圆形赛道上经过次数最多的扇区数组 模拟🟢🀄️open in new window 🔗open in new window
1561你可以获得的最大硬币数目贪心 数组 数学 2+🟠🀄️open in new window 🔗open in new window
1562查找大小为 M 的最新分组数组 哈希表 二分查找 1+🟠🀄️open in new window 🔗open in new window
1563石子游戏 V数组 数学 动态规划 1+🔴🀄️open in new window 🔗open in new window
1564把箱子放进仓库里 I 🔒贪心 数组 排序🟠🀄️open in new window 🔗open in new window
1566重复至少 K 次且长度为 M 的模式数组 枚举🟢🀄️open in new window 🔗open in new window
1567乘积为正数的最长子数组长度贪心 数组 动态规划🟠🀄️open in new window 🔗open in new window
1568使陆地分离的最少天数深度优先搜索 广度优先搜索 数组 2+🔴🀄️open in new window 🔗open in new window
1569将子数组重新排序得到同一个二叉搜索树的方案数 并查集 二叉搜索树 7+🔴🀄️open in new window 🔗open in new window
1570两个稀疏向量的点积 🔒设计 数组 哈希表 1+🟠🀄️open in new window 🔗open in new window
1572矩阵对角线元素的和数组 矩阵🟢🀄️open in new window 🔗open in new window
1574删除最短的子数组使剩余数组有序[✓] 数组 双指针 2+🟠🀄️open in new window 🔗open in new window
1575统计所有可行路径记忆化搜索 数组 动态规划🔴🀄️open in new window 🔗open in new window
1577数的平方等于两数乘积的方法数数组 哈希表 数学 1+🟠🀄️open in new window 🔗open in new window
1578使绳子变成彩色的最短时间贪心 数组 字符串 1+🟠🀄️open in new window 🔗open in new window
1580把箱子放进仓库里 II 🔒贪心 数组 排序🟠🀄️open in new window 🔗open in new window
1582二进制矩阵中的特殊位置数组 矩阵🟢🀄️open in new window 🔗open in new window
1583统计不开心的朋友数组 模拟🟠🀄️open in new window 🔗open in new window
1584连接所有点的最小费用并查集 数组 1+🟠🀄️open in new window 🔗open in new window
1588所有奇数长度子数组的和数组 数学 前缀和🟢🀄️open in new window 🔗open in new window
1589所有排列中的最大和贪心 数组 前缀和 1+🟠🀄️open in new window 🔗open in new window
1590使数组和能被 P 整除[✓]数组 哈希表 前缀和🟠🀄️open in new window 🔗open in new window
1591奇怪的打印机 II 拓扑排序 数组 1+🔴🀄️open in new window 🔗open in new window
1594矩阵的最大非负积数组 动态规划 矩阵🟠🀄️open in new window 🔗open in new window
1595连通两组点的最小成本位运算 数组 动态规划 2+🔴🀄️open in new window 🔗open in new window
1598文件夹操作日志搜集器 数组 字符串🟢🀄️open in new window 🔗open in new window
1599经营摩天轮的最大利润数组 模拟🟠🀄️open in new window 🔗open in new window
1601最多可达成的换楼请求数目位运算 数组 回溯 1+🔴🀄️open in new window 🔗open in new window
1604警告一小时内使用相同员工卡大于等于三次的人数组 哈希表 字符串 1+🟠🀄️open in new window 🔗open in new window
1605给定行和列的和求可行矩阵贪心 数组 矩阵🟠🀄️open in new window 🔗open in new window
1606找到处理最多请求的服务器贪心 数组 有序集合 1+🔴🀄️open in new window 🔗open in new window
1608特殊数组的特征值数组 二分查找 排序🟢🀄️open in new window 🔗open in new window
1610可见点的最大数目几何 数组 数学 2+🔴🀄️open in new window 🔗open in new window
1618找出适应屏幕的最大字号 🔒数组 字符串 二分查找 1+🟠🀄️open in new window 🔗open in new window
1619删除某些元素后的数组均值数组 排序🟢🀄️open in new window 🔗open in new window
1620网络信号最好的坐标数组 枚举🟠🀄️open in new window 🔗open in new window
1626无矛盾的最佳球队数组 动态规划 排序🟠🀄️open in new window 🔗open in new window
1627带阈值的图连通性并查集 数组 数学 1+🔴🀄️open in new window 🔗open in new window
1628设计带解析函数的表达式树 🔒 设计 3+🟠🀄️open in new window 🔗open in new window
1629按键持续时间最长的键数组 字符串🟢🀄️open in new window 🔗open in new window
1630等差子数组数组 哈希表 排序🟠🀄️open in new window 🔗open in new window
1631最小体力消耗路径深度优先搜索 广度优先搜索 并查集 4+🟠🀄️open in new window 🔗open in new window
1632矩阵转换后的秩并查集 拓扑排序 3+🔴🀄️open in new window 🔗open in new window
1636按照频率将数组升序排序数组 哈希表 排序🟢🀄️open in new window 🔗open in new window
1637两点之间不包含任何点的最宽垂直区域数组 排序🟢🀄️open in new window 🔗open in new window
1639通过给定词典构造目标字符串的方案数数组 字符串 动态规划🔴🀄️open in new window 🔗open in new window
1640能否连接形成数组数组 哈希表🟢🀄️open in new window 🔗open in new window
1642可以到达的最远建筑贪心 数组 堆(优先队列)🟠🀄️open in new window 🔗open in new window
1643第 K 条最小指令数组 数学 动态规划 1+🔴🀄️open in new window 🔗open in new window
1646获取生成数组中的最大值数组 模拟🟢🀄️open in new window 🔗open in new window
1648销售价值减少的颜色球贪心 数组 数学 3+🟠🀄️open in new window 🔗open in new window
1649通过指令创建有序数组树状数组 线段树 数组 4+🔴🀄️open in new window 🔗open in new window
1652拆炸弹[✓]数组 滑动窗口🟢🀄️open in new window 🔗open in new window
1654到家的最少跳跃次数广度优先搜索 数组 动态规划🟠🀄️open in new window 🔗open in new window
1655分配重复整数位运算 数组 动态规划 2+🔴🀄️open in new window 🔗open in new window
1656设计有序流设计 数组 哈希表 1+🟢🀄️open in new window 🔗open in new window
1658将 x 减到 0 的最小操作数数组 哈希表 二分查找 2+🟠🀄️open in new window 🔗open in new window
1662检查两个字符串数组是否相等数组 字符串🟢🀄️open in new window 🔗open in new window
1664生成平衡数组的方案数数组 前缀和🟠🀄️open in new window 🔗open in new window
1665完成所有任务的最少初始能量贪心 数组 排序🔴🀄️open in new window 🔗open in new window
1670设计前中后队列设计 队列 数组 2+🟠🀄️open in new window 🔗open in new window
1671得到山形数组的最少删除次数[✓]贪心 数组 二分查找 1+🔴🀄️open in new window 🔗open in new window
1672最富有客户的资产总量数组 矩阵🟢🀄️open in new window 🔗open in new window
1673找出最具竞争力的子序列 贪心 数组 1+🟠🀄️open in new window 🔗open in new window
1674使数组互补的最少操作次数数组 哈希表 前缀和🟠🀄️open in new window 🔗open in new window
1675数组的最小偏移量贪心 数组 有序集合 1+🔴🀄️open in new window 🔗open in new window
1679K 和数对的最大数目[✓]数组 哈希表 双指针 1+🟠🀄️open in new window 🔗open in new window
1681最小不兼容性位运算 数组 动态规划 1+🔴🀄️open in new window 🔗open in new window
1684统计一致字符串的数目位运算 数组 哈希表 2+🟢🀄️open in new window 🔗open in new window
1685有序数组中差绝对值之和数组 数学 前缀和🟠🀄️open in new window 🔗open in new window
1686石子游戏 VI贪心 数组 数学 3+🟠🀄️open in new window 🔗open in new window
1687从仓库到码头运输箱子线段树 队列 数组 4+🔴🀄️open in new window 🔗open in new window
1690石子游戏 VII数组 数学 动态规划 1+🟠🀄️open in new window 🔗open in new window
1691堆叠长方体的最大高度数组 动态规划 排序🔴🀄️open in new window 🔗open in new window
1695删除子数组的最大得分数组 哈希表 滑动窗口🟠🀄️open in new window 🔗open in new window
1696跳跃游戏 VI队列 数组 动态规划 2+🟠🀄️open in new window 🔗open in new window
1697检查边长度限制的路径是否存在并查集 数组 2+🔴🀄️open in new window 🔗open in new window
1700无法吃午餐的学生数量 队列 数组 1+🟢🀄️open in new window 🔗open in new window
1701平均等待时间数组 模拟🟠🀄️open in new window 🔗open in new window
1703得到连续 K 个 1 的最少相邻交换次数贪心 数组 前缀和 1+🔴🀄️open in new window 🔗open in new window
1705吃苹果的最大数目贪心 数组 堆(优先队列)🟠🀄️open in new window 🔗open in new window
1706球会落何处数组 矩阵 模拟🟠🀄️open in new window 🔗open in new window
1707与数组中元素的最大异或值位运算 字典树 数组🔴🀄️open in new window 🔗open in new window
1708长度为 K 的最大子数组 🔒贪心 数组🟢🀄️open in new window 🔗open in new window
1710卡车上的最大单元数贪心 数组 排序🟢🀄️open in new window 🔗open in new window
1711大餐计数数组 哈希表🟠🀄️open in new window 🔗open in new window
1712将数组分成三个子数组的方案数数组 双指针 二分查找 1+🟠🀄️open in new window 🔗open in new window
1713得到子序列的最少操作次数贪心 数组 哈希表 1+🔴🀄️open in new window 🔗open in new window
1714数组中特殊等间距元素的和 🔒数组 动态规划🔴🀄️open in new window 🔗open in new window
1718构建字典序最大的可行序列数组 回溯🟠🀄️open in new window 🔗open in new window
1720解码异或后的数组位运算 数组🟢🀄️open in new window 🔗open in new window
1722执行交换操作后的最小汉明距离深度优先搜索 并查集 数组🟠🀄️open in new window 🔗open in new window
1723完成所有工作的最短时间位运算 数组 动态规划 2+🔴🀄️open in new window 🔗open in new window
1725可以形成最大正方形的矩形数目数组🟢🀄️open in new window 🔗open in new window
1726同积元组数组 哈希表 计数🟠🀄️open in new window 🔗open in new window
1727重新排列后的最大子矩阵贪心 数组 矩阵 1+🟠🀄️open in new window 🔗open in new window
1728猫和老鼠 II 拓扑排序 记忆化搜索 5+🔴🀄️open in new window 🔗open in new window
1730获取食物的最短路径 🔒广度优先搜索 数组 矩阵🟠🀄️open in new window 🔗open in new window
1732找到最高海拔[✓]数组 前缀和🟢🀄️open in new window 🔗open in new window
1733需要教语言的最少人数贪心 数组 哈希表🟠🀄️open in new window 🔗open in new window
1734解码异或后的排列位运算 数组🟠🀄️open in new window 🔗open in new window
1735生成乘积数组的方案数数组 数学 动态规划 2+🔴🀄️open in new window 🔗open in new window
1738找出第 K 大的异或坐标值位运算 数组 分治 5+🟠🀄️open in new window 🔗open in new window
1743从相邻元素对还原数组深度优先搜索 数组 哈希表🟠🀄️open in new window 🔗open in new window
1744你能在你最喜欢的那天吃到你最喜欢的糖果吗?数组 前缀和🟠🀄️open in new window 🔗open in new window
1746经过一次操作后的最大子数组和 🔒数组 动态规划🟠🀄️open in new window 🔗open in new window
1748唯一元素的和数组 哈希表 计数🟢🀄️open in new window 🔗open in new window
1749任意子数组和的绝对值的最大值数组 动态规划🟠🀄️open in new window 🔗open in new window
1751最多可以参加的会议数目 II数组 二分查找 动态规划 1+🔴🀄️open in new window 🔗open in new window
1752检查数组是否经排序和轮转得到数组🟢🀄️open in new window 🔗open in new window
1755最接近目标值的子序列和位运算 数组 双指针 2+🔴🀄️open in new window 🔗open in new window
1756设计最近使用(MRU)队列 🔒 设计 树状数组 3+🟠🀄️open in new window 🔗open in new window
1760袋子里最少数目的球数组 二分查找🟠🀄️open in new window 🔗open in new window
1762能看到海景的建筑物 🔒 数组 单调栈🟠🀄️open in new window 🔗open in new window
1764通过连接另一个数组的子数组得到一个数组贪心 数组 双指针 1+🟠🀄️open in new window 🔗open in new window
1765地图中的最高点广度优先搜索 数组 矩阵🟠🀄️open in new window 🔗open in new window
1766互质树 深度优先搜索 数组 2+🔴🀄️open in new window 🔗open in new window
1769移动所有球到每个盒子所需的最小操作数数组 字符串 前缀和🟠🀄️open in new window 🔗open in new window
1770执行乘法运算的最大分数数组 动态规划🔴🀄️open in new window 🔗open in new window
1772按受欢迎程度排列功能 🔒数组 哈希表 字符串 1+🟠🀄️open in new window 🔗open in new window
1773统计匹配检索规则的物品数量数组 字符串🟢🀄️open in new window 🔗open in new window
1774最接近目标价格的甜点成本数组 动态规划 回溯🟠🀄️open in new window 🔗open in new window
1775通过最少操作次数使数组的和相等贪心 数组 哈希表 1+🟠🀄️open in new window 🔗open in new window
1776车队 II 数组 数学 2+🔴🀄️open in new window 🔗open in new window
1779找到最近的有相同 X 或 Y 坐标的点数组🟢🀄️open in new window 🔗open in new window
1782统计点对的数目 数组 双指针 2+🔴🀄️open in new window 🔗open in new window
1785构成特定和需要添加的最少元素贪心 数组🟠🀄️open in new window 🔗open in new window
1787使所有区间的异或结果为零位运算 数组 动态规划🔴🀄️open in new window 🔗open in new window
1788最大化花园的美观度 🔒贪心 数组 哈希表 1+🔴🀄️open in new window 🔗open in new window
1792最大平均通过率贪心 数组 堆(优先队列)🟠🀄️open in new window 🔗open in new window
1793好子数组的最大分数 数组 双指针 2+🔴🀄️open in new window 🔗open in new window
1798你能构造出连续值的最大数目贪心 数组 排序🟠🀄️open in new window 🔗open in new window
1799N 次操作后的最大分数和位运算 数组 数学 4+🔴🀄️open in new window 🔗open in new window
1800最大升序子数组和数组🟢🀄️open in new window 🔗open in new window
1801积压订单中的订单总数数组 模拟 堆(优先队列)🟠🀄️open in new window 🔗open in new window
1803统计异或值在范围内的数对有多少位运算 字典树 数组🔴🀄️open in new window 🔗open in new window
1806还原排列的最少操作步数数组 数学 模拟🟠🀄️open in new window 🔗open in new window
1807替换字符串中的括号内容数组 哈希表 字符串🟠🀄️open in new window 🔗open in new window
1813句子相似性 III[✓]数组 双指针 字符串🟠🀄️open in new window 🔗open in new window
1814统计一个数组中好对子的数目数组 哈希表 数学 1+🟠🀄️open in new window 🔗open in new window
1815得到新鲜甜甜圈的最多组数位运算 记忆化搜索 数组 2+🔴🀄️open in new window 🔗open in new window
1816截断句子数组 字符串🟢🀄️open in new window 🔗open in new window
1817查找用户活跃分钟数数组 哈希表🟠🀄️open in new window 🔗open in new window
1818绝对差值和数组 二分查找 有序集合 1+🟠🀄️open in new window 🔗open in new window
1819序列中不同最大公约数的数目数组 数学 计数 1+🔴🀄️open in new window 🔗open in new window
1820最多邀请的个数 🔒深度优先搜索 数组 1+🟠🀄️open in new window 🔗open in new window
1822数组元素积的符号数组 数学🟢🀄️open in new window 🔗open in new window
1823找出游戏的获胜者递归 队列 数组 2+🟠🀄️open in new window 🔗open in new window
1824最少侧跳次数贪心 数组 动态规划🟠🀄️open in new window 🔗open in new window
1826有缺陷的传感器 🔒数组 双指针🟢🀄️open in new window 🔗open in new window
1827最少操作使数组递增贪心 数组🟢🀄️open in new window 🔗open in new window
1828统计一个圆中点的数目几何 数组 数学🟠🀄️open in new window 🔗open in new window
1829每个查询的最大异或值[✓]位运算 数组 前缀和🟠🀄️open in new window 🔗open in new window
1833雪糕的最大数量贪心 数组 计数排序 1+🟠🀄️open in new window 🔗open in new window
1834单线程 CPU数组 排序 堆(优先队列)🟠🀄️open in new window 🔗open in new window
1835所有数对按位与结果的异或和位运算 数组 数学🔴🀄️open in new window 🔗open in new window
1838最高频元素的频数贪心 数组 二分查找 3+🟠🀄️open in new window 🔗open in new window
1840最高建筑高度数组 数学 排序🔴🀄️open in new window 🔗open in new window
1846减小和重新排列数组后的最大元素贪心 数组 排序🟠🀄️open in new window 🔗open in new window
1847最近的房间数组 二分查找 有序集合 1+🔴🀄️open in new window 🔗open in new window
1848到目标元素的最小距离数组🟢🀄️open in new window 🔗open in new window
1851包含每个查询的最小区间数组 二分查找 排序 2+🔴🀄️open in new window 🔗open in new window
1852每个子数组的数字种类数 🔒数组 哈希表 滑动窗口🟠🀄️open in new window 🔗open in new window
1854人口最多的年份数组 计数 前缀和🟢🀄️open in new window 🔗open in new window
1855下标对中的最大距离数组 双指针 二分查找🟠🀄️open in new window 🔗open in new window
1856子数组最小乘积的最大值 数组 前缀和 1+🟠🀄️open in new window 🔗open in new window
1861旋转盒子数组 双指针 矩阵🟠🀄️open in new window 🔗open in new window
1862向下取整数对和数组 数学 二分查找 1+🔴🀄️open in new window 🔗open in new window
1863找出所有子集的异或总和再求和位运算 数组 数学 3+🟢🀄️open in new window 🔗open in new window
1865找出和为指定值的下标对设计 数组 哈希表🟠🀄️open in new window 🔗open in new window
1868两个行程编码数组的积 🔒数组 双指针🟠🀄️open in new window 🔗open in new window
1870准时到达的列车最小时速数组 二分查找🟠🀄️open in new window 🔗open in new window
1872石子游戏 VIII数组 数学 动态规划 2+🔴🀄️open in new window 🔗open in new window
1874两个数组的最小乘积和 🔒贪心 数组 排序🟠🀄️open in new window 🔗open in new window
1877数组中最大数对和的最小值贪心 数组 双指针 1+🟠🀄️open in new window 🔗open in new window
1878矩阵中最大的三个菱形和数组 数学 矩阵 3+🟠🀄️open in new window 🔗open in new window
1879两个数组最小的异或值之和位运算 数组 动态规划 1+🔴🀄️open in new window 🔗open in new window
1882使用服务器处理任务数组 堆(优先队列)🟠🀄️open in new window 🔗open in new window
1883准时抵达会议现场的最小跳过休息次数数组 动态规划🔴🀄️open in new window 🔗open in new window
1885统计数对 🔒数组 双指针 二分查找 1+🟠🀄️open in new window 🔗open in new window
1886判断矩阵经轮转后是否一致数组 矩阵🟢🀄️open in new window 🔗open in new window
1887使数组元素相等的减少操作次数数组 排序🟠🀄️open in new window 🔗open in new window
1889装包裹的最小浪费空间数组 二分查找 前缀和 1+🔴🀄️open in new window 🔗open in new window
1891割绳子 🔒数组 二分查找🟠🀄️open in new window 🔗open in new window
1893检查是否区域内所有整数都被覆盖数组 哈希表 前缀和🟢🀄️open in new window 🔗open in new window
1894找到需要补充粉笔的学生编号数组 二分查找 前缀和 1+🟠🀄️open in new window 🔗open in new window
1895最大的幻方数组 矩阵 前缀和🟠🀄️open in new window 🔗open in new window
1898可移除字符的最大数目数组 双指针 字符串 1+🟠🀄️open in new window 🔗open in new window
1899合并若干三元组以形成目标三元组贪心 数组🟠🀄️open in new window 🔗open in new window
1901寻找峰值 II数组 二分查找 矩阵🟠🀄️open in new window 🔗open in new window
1902给定二叉搜索树的插入顺序求深度 🔒 二叉搜索树 数组 2+🟠🀄️open in new window 🔗open in new window
1905统计子岛屿深度优先搜索 广度优先搜索 并查集 2+🟠🀄️open in new window 🔗open in new window
1906查询差绝对值的最小值数组 哈希表🟠🀄️open in new window 🔗open in new window
1908Nim 游戏 II 🔒位运算 脑筋急转弯 数组 3+🟠🀄️open in new window 🔗open in new window
1909删除一个元素使数组严格递增数组🟢🀄️open in new window 🔗open in new window
1911最大子序列交替和数组 动态规划🟠🀄️open in new window 🔗open in new window
1912设计电影租借系统设计 数组 哈希表 2+🔴🀄️open in new window 🔗open in new window
1913两个数对之间的最大乘积差数组 排序🟢🀄️open in new window 🔗open in new window
1914循环轮转矩阵数组 矩阵 模拟🟠🀄️open in new window 🔗open in new window
1918第 K 小的子数组和 🔒数组 二分查找 滑动窗口🟠🀄️open in new window 🔗open in new window
1920基于排列构建数组数组 模拟🟢🀄️open in new window 🔗open in new window
1921消灭怪物的最大数量贪心 数组 排序🟠🀄️open in new window 🔗open in new window
1923最长公共子路径数组 二分查找 后缀数组 2+🔴🀄️open in new window 🔗open in new window
1924安装栅栏 II 🔒几何 数组 数学🔴🀄️open in new window 🔗open in new window
1926迷宫中离入口最近的出口广度优先搜索 数组 矩阵🟠🀄️open in new window 🔗open in new window
1928规定时间内到达终点的最小花费 数组 动态规划🔴🀄️open in new window 🔗open in new window
1929数组串联数组 模拟🟢🀄️open in new window 🔗open in new window
1936新增的最少台阶数贪心 数组🟠🀄️open in new window 🔗open in new window
1937扣分后的最大得分数组 动态规划 矩阵🟠🀄️open in new window 🔗open in new window
1938查询最大基因差位运算 深度优先搜索 字典树 2+🔴🀄️open in new window 🔗open in new window
1940排序数组之间的最长公共子序列 🔒数组 哈希表 计数🟠🀄️open in new window 🔗open in new window
1942最小未被占据椅子的编号[✓]数组 哈希表 堆(优先队列)🟠🀄️open in new window 🔗open in new window
1943描述绘画结果数组 哈希表 前缀和 1+🟠🀄️open in new window 🔗open in new window
1944队列中可以看到的人数 数组 单调栈🔴🀄️open in new window 🔗open in new window
1946子字符串突变后可能得到的最大整数贪心 数组 字符串🟠🀄️open in new window 🔗open in new window
1947最大兼容性评分和位运算 数组 动态规划 2+🟠🀄️open in new window 🔗open in new window
1948删除系统中的重复文件夹字典树 数组 哈希表 2+🔴🀄️open in new window 🔗open in new window
1950所有子数组最小值中的最大值 🔒 数组 单调栈🟠🀄️open in new window 🔗open in new window
1953你可以工作的最大周数贪心 数组🟠🀄️open in new window 🔗open in new window
1955统计特殊子序列的数目数组 动态规划🔴🀄️open in new window 🔗open in new window
1956感染 K 种病毒所需的最短时间 🔒几何 数组 数学 2+🔴🀄️open in new window 🔗open in new window
1958检查操作是否合法数组 枚举 矩阵🟠🀄️open in new window 🔗open in new window
1959K 次调整数组大小浪费的最小总空间数组 动态规划🟠🀄️open in new window 🔗open in new window
1961检查字符串是否为数组前缀数组 双指针 字符串🟢🀄️open in new window 🔗open in new window
1962移除石子使总数最小贪心 数组 堆(优先队列)🟠🀄️open in new window 🔗open in new window
1964找出到每个位置为止最长的有效障碍赛跑路线树状数组 数组 二分查找🔴🀄️open in new window 🔗open in new window
1966未排序数组中的可被二分搜索的数 🔒数组 二分查找🟠🀄️open in new window 🔗open in new window
1967作为子字符串出现在单词中的字符串数目数组 字符串🟢🀄️open in new window 🔗open in new window
1968构造元素不等于两相邻元素平均值的数组贪心 数组 排序🟠🀄️open in new window 🔗open in new window
1970你能穿过矩阵的最后一天深度优先搜索 广度优先搜索 并查集 3+🔴🀄️open in new window 🔗open in new window
1975最大方阵和贪心 数组 矩阵🟠🀄️open in new window 🔗open in new window
1979找出数组的最大公约数数组 数学 数论🟢🀄️open in new window 🔗open in new window
1980找出不同的二进制字符串数组 哈希表 字符串 1+🟠🀄️open in new window 🔗open in new window
1981最小化目标值与所选元素的差数组 动态规划 矩阵🟠🀄️open in new window 🔗open in new window
1982从子集的和还原数组数组 分治🔴🀄️open in new window 🔗open in new window
1983范围和相等的最宽索引对 🔒数组 哈希表 前缀和🟠🀄️open in new window 🔗open in new window
1984学生分数的最小差值数组 排序 滑动窗口🟢🀄️open in new window 🔗open in new window
1985找出数组中的第 K 大整数数组 字符串 分治 3+🟠🀄️open in new window 🔗open in new window
1986完成任务的最少工作时间段位运算 数组 动态规划 2+🟠🀄️open in new window 🔗open in new window
1989捉迷藏中可捕获的最大人数 🔒贪心 数组🟠🀄️open in new window 🔗open in new window
1991找到数组的中间位置数组 前缀和🟢🀄️open in new window 🔗open in new window
1992找到所有的农场组深度优先搜索 广度优先搜索 数组 1+🟠🀄️open in new window 🔗open in new window
1993树上的操作 深度优先搜索 广度优先搜索 3+🟠🀄️open in new window 🔗open in new window
1994好子集的数目位运算 数组 数学 2+🔴🀄️open in new window 🔗open in new window
1995统计特殊四元组数组 哈希表 枚举🟢🀄️open in new window 🔗open in new window
1996游戏中弱角色的数量 贪心 数组 2+🟠🀄️open in new window 🔗open in new window
1997访问完所有房间的第一天数组 动态规划🟠🀄️open in new window 🔗open in new window
1998数组的最大公因数排序并查集 数组 数学 2+🔴🀄️open in new window 🔗open in new window
2001可互换矩形的组数数组 哈希表 数学 2+🟠🀄️open in new window 🔗open in new window
2006差的绝对值为 K 的数对数目数组 哈希表 计数🟢🀄️open in new window 🔗open in new window
2007从双倍数组中还原原数组贪心 数组 哈希表 1+🟠🀄️open in new window 🔗open in new window
2008出租车的最大盈利数组 哈希表 二分查找 2+🟠🀄️open in new window 🔗open in new window
2009使数组连续的最少操作数数组 哈希表 二分查找 1+🔴🀄️open in new window 🔗open in new window
2011执行操作后的变量值数组 字符串 模拟🟢🀄️open in new window 🔗open in new window
2012数组美丽值求和数组🟠🀄️open in new window 🔗open in new window
2013检测正方形设计 数组 哈希表 1+🟠🀄️open in new window 🔗open in new window
2015每段建筑物的平均高度 🔒贪心 数组 排序 1+🟠🀄️open in new window 🔗open in new window
2016增量元素之间的最大差值数组🟢🀄️open in new window 🔗open in new window
2017网格游戏数组 矩阵 前缀和🟠🀄️open in new window 🔗open in new window
2018判断单词是否能放入填字游戏内数组 枚举 矩阵🟠🀄️open in new window 🔗open in new window
2019解出数学表达式的学生分数 记忆化搜索 数组 3+🔴🀄️open in new window 🔗open in new window
2021街上最亮的位置 🔒数组 有序集合 前缀和🟠🀄️open in new window 🔗open in new window
2022将一维数组转变成二维数组数组 矩阵 模拟🟢🀄️open in new window 🔗open in new window
2023连接后等于目标字符串的字符串对数组 哈希表 字符串 1+🟠🀄️open in new window 🔗open in new window
2025分割数组的最多方案数数组 哈希表 计数 2+🔴🀄️open in new window 🔗open in new window
2028找出缺失的观测数据数组 数学 模拟🟠🀄️open in new window 🔗open in new window
2029石子游戏 IX贪心 数组 数学 2+🟠🀄️open in new window 🔗open in new window
20311 比 0 多的子数组个数 🔒树状数组 线段树 数组 4+🟠🀄️open in new window 🔗open in new window
2032至少在两个数组中出现的值位运算 数组 哈希表🟢🀄️open in new window 🔗open in new window
2033获取单值网格的最小操作数数组 数学 矩阵 1+🟠🀄️open in new window 🔗open in new window
2035将数组分成两个数组并最小化数组和的差位运算 数组 双指针 4+🔴🀄️open in new window 🔗open in new window
2036最大交替子数组和 🔒数组 动态规划🟠🀄️open in new window 🔗open in new window
2037使每位学生都有座位的最少移动次数贪心 数组 计数排序 1+🟢🀄️open in new window 🔗open in new window
2039网络空闲的时刻广度优先搜索 数组🟠🀄️open in new window 🔗open in new window
2040两个有序数组的第 K 小乘积数组 二分查找🔴🀄️open in new window 🔗open in new window
2043简易银行系统设计 数组 哈希表 1+🟠🀄️open in new window 🔗open in new window
2044统计按位或能得到最大值的子集数目[✓]位运算 数组 回溯 1+🟠🀄️open in new window 🔗open in new window
2049统计最高分的节点数目 深度优先搜索 数组 1+🟠🀄️open in new window 🔗open in new window
2050并行课程 III 拓扑排序 数组 1+🔴🀄️open in new window 🔗open in new window
2052将句子分隔成行的最低成本 🔒数组 动态规划🟠🀄️open in new window 🔗open in new window
2053数组中第 K 个独一无二的字符串数组 哈希表 字符串 1+🟢🀄️open in new window 🔗open in new window
2054两个最好的不重叠活动数组 二分查找 动态规划 2+🟠🀄️open in new window 🔗open in new window
2055蜡烛之间的盘子数组 字符串 二分查找 1+🟠🀄️open in new window 🔗open in new window
2056棋盘上有效移动组合的数目数组 字符串 回溯 1+🔴🀄️open in new window 🔗open in new window
2057值相等的最小索引数组🟢🀄️open in new window 🔗open in new window
2059转化数字的最小运算数广度优先搜索 数组🟠🀄️open in new window 🔗open in new window
2061扫地机器人清扫过的空间个数 🔒数组 矩阵 模拟🟠🀄️open in new window 🔗open in new window
2064分配给商店的最多商品的最小值[✓]数组 二分查找🟠🀄️open in new window 🔗open in new window
2065最大化一张图中的路径价值 数组 回溯🔴🀄️open in new window 🔗open in new window
2070每一个查询的最大美丽值[✓]数组 二分查找 排序🟠🀄️open in new window 🔗open in new window
2071你可以安排的最多任务数目贪心 队列 数组 3+🔴🀄️open in new window 🔗open in new window
2073买票需要的时间队列 数组 模拟🟢🀄️open in new window 🔗open in new window
2078两栋颜色不同且距离最远的房子贪心 数组🟢🀄️open in new window 🔗open in new window
2079给植物浇水数组 模拟🟠🀄️open in new window 🔗open in new window
2080区间内查询数字的频率设计 线段树 数组 2+🟠🀄️open in new window 🔗open in new window
2085统计出现过一次的公共字符串数组 哈希表 字符串 1+🟢🀄️open in new window 🔗open in new window
2087网格图中机器人回家的最小代价贪心 数组🟠🀄️open in new window 🔗open in new window
2088统计农场中肥沃金字塔的数目数组 动态规划 矩阵🔴🀄️open in new window 🔗open in new window
2089找出数组排序后的目标下标数组 二分查找 排序🟢🀄️open in new window 🔗open in new window
2090半径为 k 的子数组平均值数组 滑动窗口🟠🀄️open in new window 🔗open in new window
2091从数组中移除最大值和最小值贪心 数组🟠🀄️open in new window 🔗open in new window
2094找出 3 位偶数数组 哈希表 枚举 1+🟢🀄️open in new window 🔗open in new window
2098长度为 K 的最大偶数和子序列 🔒贪心 数组 排序🟠🀄️open in new window 🔗open in new window
2099找到和最大的长度为 K 的子序列数组 哈希表 排序 1+🟢🀄️open in new window 🔗open in new window
2100适合野炊的日子数组 动态规划 前缀和🟠🀄️open in new window 🔗open in new window
2101引爆最多的炸弹深度优先搜索 广度优先搜索 3+🟠🀄️open in new window 🔗open in new window
2104子数组范围和 数组 单调栈🟠🀄️open in new window 🔗open in new window
2105给植物浇水 II数组 双指针 模拟🟠🀄️open in new window 🔗open in new window
2106摘水果数组 二分查找 前缀和 1+🔴🀄️open in new window 🔗open in new window
2107分享 K 个糖果后独特口味的数量 🔒数组 哈希表 滑动窗口🟠🀄️open in new window 🔗open in new window
2108找出数组中的第一个回文字符串数组 双指针 字符串🟢🀄️open in new window 🔗open in new window
2109向字符串添加空格数组 双指针 字符串 1+🟠🀄️open in new window 🔗open in new window
2110股票平滑下跌阶段的数目数组 数学 动态规划🟠🀄️open in new window 🔗open in new window
2111使数组 K 递增的最少操作次数数组 二分查找🔴🀄️open in new window 🔗open in new window
2113查询删除和添加元素后的数组 🔒数组🟠🀄️open in new window 🔗open in new window
2114句子中的最多单词数数组 字符串🟢🀄️open in new window 🔗open in new window
2115从给定原材料中找到所有可以做出的菜 拓扑排序 数组 2+🟠🀄️open in new window 🔗open in new window
2121相同元素的间隔之和数组 哈希表 前缀和🟠🀄️open in new window 🔗open in new window
2122还原原数组数组 哈希表 双指针 2+🔴🀄️open in new window 🔗open in new window
2123使矩阵中的 1 互不相邻的最小操作数 🔒 数组 矩阵🔴🀄️open in new window 🔗open in new window
2125银行中的激光束数量数组 数学 字符串 1+🟠🀄️open in new window 🔗open in new window
2126摧毁小行星贪心 数组 排序🟠🀄️open in new window 🔗open in new window
2128通过翻转行或列来去除所有的 1 🔒位运算 数组 数学 1+🟠🀄️open in new window 🔗open in new window
2131连接两字母单词得到的最长回文串贪心 数组 哈希表 2+🟠🀄️open in new window 🔗open in new window
2132用邮票贴满网格图贪心 数组 矩阵 1+🔴🀄️open in new window 🔗open in new window
2133检查是否每一行每一列都包含全部整数数组 哈希表 矩阵🟢🀄️open in new window 🔗open in new window
2134最少交换次数来组合所有的 1 II数组 滑动窗口🟠🀄️open in new window 🔗open in new window
2135统计追加字母可以获得的单词数位运算 数组 哈希表 2+🟠🀄️open in new window 🔗open in new window
2136全部开花的最早一天贪心 数组 排序🔴🀄️open in new window 🔗open in new window
2137通过倒水操作让所有的水桶所含水量相等 🔒数组 二分查找🟠🀄️open in new window 🔗open in new window
2140解决智力问题数组 动态规划🟠🀄️open in new window 🔗open in new window
2141同时运行 N 台电脑的最长时间贪心 数组 二分查找 1+🔴🀄️open in new window 🔗open in new window
2143在两个数组的区间中选取数字 🔒数组 动态规划🔴🀄️open in new window 🔗open in new window
2144打折购买糖果的最小开销贪心 数组 排序🟢🀄️open in new window 🔗open in new window
2145统计隐藏数组数目数组 前缀和🟠🀄️open in new window 🔗open in new window
2146价格范围内最高排名的 K 样物品广度优先搜索 数组 矩阵 2+🟠🀄️open in new window 🔗open in new window
2148元素计数数组 计数 排序🟢🀄️open in new window 🔗open in new window
2149按符号重排数组数组 双指针 模拟🟠🀄️open in new window 🔗open in new window
2150找出数组中的所有孤独数字数组 哈希表 计数🟠🀄️open in new window 🔗open in new window
2151基于陈述统计最多好人数位运算 数组 回溯 1+🔴🀄️open in new window 🔗open in new window
2152穿过所有点的所需最少直线数量 🔒位运算 几何 数组 5+🟠🀄️open in new window 🔗open in new window
2154将找到的值乘以 2数组 哈希表 排序 1+🟢🀄️open in new window 🔗open in new window
2155分组得分最高的所有下标数组🟠🀄️open in new window 🔗open in new window
2158每天绘制新区域的数量 🔒线段树 数组 有序集合🔴🀄️open in new window 🔗open in new window
2161根据给定数字划分数组数组 双指针 模拟🟠🀄️open in new window 🔗open in new window
2163删除元素后和的最小差值数组 动态规划 堆(优先队列)🔴🀄️open in new window 🔗open in new window
2164对奇偶下标分别排序数组 排序🟢🀄️open in new window 🔗open in new window
2166设计位集设计 数组 哈希表 1+🟠🀄️open in new window 🔗open in new window
2170使数组变成交替数组的最少操作数贪心 数组 哈希表 1+🟠🀄️open in new window 🔗open in new window
2171拿出最少数目的魔法豆贪心 数组 枚举 2+🟠🀄️open in new window 🔗open in new window
2172数组的最大与和位运算 数组 动态规划 1+🔴🀄️open in new window 🔗open in new window
2174通过翻转行或列来去除所有的 1 II 🔒位运算 广度优先搜索 数组 1+🟠🀄️open in new window 🔗open in new window
2176统计数组中相等且可以被整除的数对数组🟢🀄️open in new window 🔗open in new window
2179统计数组中好三元组数目树状数组 线段树 数组 4+🔴🀄️open in new window 🔗open in new window
2183统计可以被 K 整除的下标对数目数组 数学 数论🔴🀄️open in new window 🔗open in new window
2184建造坚实的砖墙的方法数 🔒位运算 数组 动态规划 1+🟠🀄️open in new window 🔗open in new window
2185统计包含给定前缀的字符串数组 字符串 字符串匹配🟢🀄️open in new window 🔗open in new window
2187完成旅途的最少时间数组 二分查找🟠🀄️open in new window 🔗open in new window
2188完成比赛的最少时间数组 动态规划🔴🀄️open in new window 🔗open in new window
2190数组中紧跟 key 之后出现最频繁的数字数组 哈希表 计数🟢🀄️open in new window 🔗open in new window
2191将杂乱无章的数字排序数组 排序🟠🀄️open in new window 🔗open in new window
2195向数组中追加 K 个整数贪心 数组 数学 1+🟠🀄️open in new window 🔗open in new window
2196根据描述创建二叉树[✓] 数组 哈希表 1+🟠🀄️open in new window 🔗open in new window
2197替换数组中的非互质数 数组 数学 1+🔴🀄️open in new window 🔗open in new window
2200找出数组中的所有 K 近邻下标数组 双指针🟢🀄️open in new window 🔗open in new window
2201统计可以提取的工件数组 哈希表 模拟🟠🀄️open in new window 🔗open in new window
2202K 次操作后最大化顶端元素贪心 数组🟠🀄️open in new window 🔗open in new window
2206将数组划分成相等数对位运算 数组 哈希表 1+🟢🀄️open in new window 🔗open in new window
2208将数组和减半的最少操作次数贪心 数组 堆(优先队列)🟠🀄️open in new window 🔗open in new window
2210统计数组中峰和谷的数量数组🟢🀄️open in new window 🔗open in new window
2212射箭比赛中的最大得分位运算 数组 回溯 1+🟠🀄️open in new window 🔗open in new window
2213由单个字符重复的最长子字符串线段树 数组 字符串 1+🔴🀄️open in new window 🔗open in new window
2214通关游戏所需的最低生命值 🔒贪心 数组🟠🀄️open in new window 🔗open in new window
2215找出两数组的不同[✓]数组 哈希表🟢🀄️open in new window 🔗open in new window
2216美化数组的最少删除数 贪心 数组🟠🀄️open in new window 🔗open in new window
2217找到指定长度的回文数数组 数学🟠🀄️open in new window 🔗open in new window
2218从栈中取出 K 个硬币的最大面值和数组 动态规划 前缀和🔴🀄️open in new window 🔗open in new window
2219数组的最大总分 🔒数组 前缀和🟠🀄️open in new window 🔗open in new window
2221数组的三角和数组 数学 组合数学 1+🟠🀄️open in new window 🔗open in new window
2225找出输掉零场或一场比赛的玩家数组 哈希表 计数 1+🟠🀄️open in new window 🔗open in new window
2226每个小孩最多能分到多少糖果数组 二分查找🟠🀄️open in new window 🔗open in new window
2227加密解密字符串设计 字典树 数组 2+🔴🀄️open in new window 🔗open in new window
2229检查数组是否连贯 🔒数组 哈希表 排序🟢🀄️open in new window 🔗open in new window
2233K 次增加后的最大乘积贪心 数组 堆(优先队列)🟠🀄️open in new window 🔗open in new window
2234花园的最大总美丽值贪心 数组 双指针 2+🔴🀄️open in new window 🔗open in new window
2237计算街道上满足所需亮度的位置数量 🔒数组 前缀和🟠🀄️open in new window 🔗open in new window
2239找到最接近 0 的数字数组🟢🀄️open in new window 🔗open in new window
2241设计一个 ATM 机器贪心 设计 数组🟠🀄️open in new window 🔗open in new window
2242节点序列的最大得分 数组 枚举 1+🔴🀄️open in new window 🔗open in new window
2244完成所有任务需要的最少轮数贪心 数组 哈希表 1+🟠🀄️open in new window 🔗open in new window
2245转角路径的乘积中最多能有几个尾随零数组 矩阵 前缀和🟠🀄️open in new window 🔗open in new window
2246相邻字符不同的最长路径 深度优先搜索 3+🔴🀄️open in new window 🔗open in new window
2248多个数组求交集数组 哈希表 计数 1+🟢🀄️open in new window 🔗open in new window
2249统计圆内格点数目几何 数组 哈希表 2+🟠🀄️open in new window 🔗open in new window
2250统计包含每个点的矩形数目树状数组 数组 二分查找 1+🟠🀄️open in new window 🔗open in new window
2251花期内花的数目数组 哈希表 二分查找 3+🔴🀄️open in new window 🔗open in new window
2255统计是给定字符串前缀的字符串数目数组 字符串🟢🀄️open in new window 🔗open in new window
2256最小平均差数组 前缀和🟠🀄️open in new window 🔗open in new window
2257统计网格图中没有被保卫的格子数数组 矩阵 模拟🟠🀄️open in new window 🔗open in new window
2258逃离火灾广度优先搜索 数组 二分查找 1+🔴🀄️open in new window 🔗open in new window
2260必须拿起的最小连续卡牌数[✓]数组 哈希表 滑动窗口🟠🀄️open in new window 🔗open in new window
2261含最多 K 个可整除元素的子数组[✓]字典树 数组 哈希表 3+🟠🀄️open in new window 🔗open in new window
2267检查是否有合法括号字符串路径数组 动态规划 矩阵🔴🀄️open in new window 🔗open in new window
2270分割数组的方案数数组 前缀和🟠🀄️open in new window 🔗open in new window
2271毯子覆盖的最多白色砖块数贪心 数组 二分查找 2+🟠🀄️open in new window 🔗open in new window
2272最大波动的子字符串数组 动态规划🔴🀄️open in new window 🔗open in new window
2273移除字母异位词后的结果数组数组 哈希表 字符串 1+🟢🀄️open in new window 🔗open in new window
2274不含特殊楼层的最大连续楼层数数组 排序🟠🀄️open in new window 🔗open in new window
2275按位与结果大于零的最长组合[✓]位运算 数组 哈希表 1+🟠🀄️open in new window 🔗open in new window
2277树中最接近路径的节点 🔒 深度优先搜索 广度优先搜索 1+🔴🀄️open in new window 🔗open in new window
2279装满石头的背包的最大数量贪心 数组 排序🟠🀄️open in new window 🔗open in new window
2280表示一个折线图的最少线段数几何 数组 数学 2+🟠🀄️open in new window 🔗open in new window
2281巫师的总力量和 数组 前缀和 1+🔴🀄️open in new window 🔗open in new window
2282在一个网格中可以看到的人数 🔒 数组 矩阵 1+🟠🀄️open in new window 🔗open in new window
2284最多单词数的发件人数组 哈希表 字符串 1+🟠🀄️open in new window 🔗open in new window
2289使数组按非递减顺序排列 数组 链表 1+🟠🀄️open in new window 🔗open in new window
2290到达角落需要移除障碍物的最小数目广度优先搜索 数组 3+🔴🀄️open in new window 🔗open in new window
2291最大股票收益 🔒数组 动态规划🟠🀄️open in new window 🔗open in new window
2293极大极小游戏数组 模拟🟢🀄️open in new window 🔗open in new window
2294划分数组使最大差为 K贪心 数组 排序🟠🀄️open in new window 🔗open in new window
2295替换数组中的元素数组 哈希表 模拟🟠🀄️open in new window 🔗open in new window
2297跳跃游戏 VIII 🔒 数组 3+🟠🀄️open in new window 🔗open in new window
2300咒语和药水的成功对数数组 双指针 二分查找 1+🟠🀄️open in new window 🔗open in new window
2301替换字符后匹配数组 哈希表 字符串 1+🔴🀄️open in new window 🔗open in new window
2302统计得分小于 K 的子数组数目数组 二分查找 前缀和 1+🔴🀄️open in new window 🔗open in new window
2303计算应缴税款总额数组 模拟🟢🀄️open in new window 🔗open in new window
2304网格中的最小路径代价数组 动态规划 矩阵🟠🀄️open in new window 🔗open in new window
2305公平分发饼干位运算 数组 动态规划 2+🟠🀄️open in new window 🔗open in new window
2306公司命名位运算 数组 哈希表 2+🔴🀄️open in new window 🔗open in new window
2307检查方程中的矛盾之处 🔒深度优先搜索 并查集 1+🔴🀄️open in new window 🔗open in new window
2312卖木头块记忆化搜索 数组 动态规划🔴🀄️open in new window 🔗open in new window
2317操作后的最大异或和位运算 数组 数学🟠🀄️open in new window 🔗open in new window
2319判断矩阵是否是一个 X 矩阵数组 矩阵🟢🀄️open in new window 🔗open in new window
2321拼接数组的最大分数数组 动态规划🔴🀄️open in new window 🔗open in new window
2322从树中删除边的最小分数位运算 深度优先搜索 1+🔴🀄️open in new window 🔗open in new window
2323完成所有工作的最短时间 II 🔒贪心 数组 排序🟠🀄️open in new window 🔗open in new window
2326螺旋矩阵 IV数组 链表 矩阵 1+🟠🀄️open in new window 🔗open in new window
2328网格图中递增路径的数目深度优先搜索 广度优先搜索 5+🔴🀄️open in new window 🔗open in new window
2332坐上公交的最晚时间数组 双指针 二分查找 1+🟠🀄️open in new window 🔗open in new window
2333最小差值平方和贪心 数组 二分查找 2+🟠🀄️open in new window 🔗open in new window
2334元素值大于变化阈值的子数组 并查集 数组 1+🔴🀄️open in new window 🔗open in new window
2335装满杯子需要的最短总时长贪心 数组 排序 1+🟢🀄️open in new window 🔗open in new window
2340生成有效数组的最少交换次数 🔒贪心 数组🟠🀄️open in new window 🔗open in new window
2341数组能形成多少数对数组 哈希表 计数🟢🀄️open in new window 🔗open in new window
2342数位和相等数对的最大和数组 哈希表 排序 1+🟠🀄️open in new window 🔗open in new window
2343裁剪数字后查询第 K 小的数字数组 字符串 分治 4+🟠🀄️open in new window 🔗open in new window
2344使数组可以被整除的最少删除次数数组 数学 数论 2+🔴🀄️open in new window 🔗open in new window
2345寻找可见山的数量 🔒 数组 排序 1+🟠🀄️open in new window 🔗open in new window
2347最好的扑克手牌数组 哈希表 计数🟢🀄️open in new window 🔗open in new window
2348全 0 子数组的数目数组 数学🟠🀄️open in new window 🔗open in new window
2350不可能得到的最短骰子序列贪心 数组 哈希表🔴🀄️open in new window 🔗open in new window
2352相等行列对[✓]数组 哈希表 矩阵 1+🟠🀄️open in new window 🔗open in new window
2354优质数对的数目位运算 数组 哈希表 1+🔴🀄️open in new window 🔗open in new window
2355你能拿走的最大图书数量 🔒 数组 动态规划 1+🔴🀄️open in new window 🔗open in new window
2357使数组中所有元素都等于零贪心 数组 哈希表 3+🟢🀄️open in new window 🔗open in new window
2358分组的最大数量贪心 数组 数学 1+🟠🀄️open in new window 🔗open in new window
2361乘坐火车路线的最少费用 🔒数组 动态规划🔴🀄️open in new window 🔗open in new window
2363合并相似的物品数组 哈希表 有序集合 1+🟢🀄️open in new window 🔗open in new window
2364统计坏数对的数目数组 哈希表 数学 1+🟠🀄️open in new window 🔗open in new window
2365任务调度器 II数组 哈希表 模拟🟠🀄️open in new window 🔗open in new window
2366将数组排序的最少替换次数贪心 数组 数学🔴🀄️open in new window 🔗open in new window
2367等差三元组的数目数组 哈希表 双指针 1+🟢🀄️open in new window 🔗open in new window
2368受限条件下可到达节点的数目 深度优先搜索 广度优先搜索 4+🟠🀄️open in new window 🔗open in new window
2369检查数组是否存在有效划分数组 动态规划🟠🀄️open in new window 🔗open in new window
2371最小化网格中的最大值 🔒并查集 拓扑排序 3+🔴🀄️open in new window 🔗open in new window
2373矩阵中的局部最大值数组 矩阵🟢🀄️open in new window 🔗open in new window
2381字母移位 II数组 字符串 前缀和🟠🀄️open in new window 🔗open in new window
2382删除操作后的最大子段和并查集 数组 有序集合 1+🔴🀄️open in new window 🔗open in new window
2383赢得比赛需要的最少训练时长贪心 数组🟢🀄️open in new window 🔗open in new window
2386找出数组的第 K 大和数组 排序 堆(优先队列)🔴🀄️open in new window 🔗open in new window
2387行排序矩阵的中位数 🔒数组 二分查找 矩阵🟠🀄️open in new window 🔗open in new window
2389和有限的最长子序列贪心 数组 二分查找 2+🟢🀄️open in new window 🔗open in new window
2391收集垃圾的最少总时间数组 字符串 前缀和🟠🀄️open in new window 🔗open in new window
2392给定条件下构造矩阵 拓扑排序 数组 1+🔴🀄️open in new window 🔗open in new window
2393严格递增的子数组个数 🔒数组 数学 动态规划🟠🀄️open in new window 🔗open in new window
2395和相等的子数组数组 哈希表🟢🀄️open in new window 🔗open in new window
2397被列覆盖的最多行数位运算 数组 回溯 2+🟠🀄️open in new window 🔗open in new window
2398预算内的最多机器人数目队列 数组 二分查找 4+🔴🀄️open in new window 🔗open in new window
2399检查相同字母间的距离数组 哈希表 字符串🟢🀄️open in new window 🔗open in new window
2401最长优雅子数组位运算 数组 滑动窗口🟠🀄️open in new window 🔗open in new window
2402会议室 III数组 哈希表 排序 2+🔴🀄️open in new window 🔗open in new window
2403杀死所有怪物的最短时间 🔒位运算 数组 动态规划 1+🔴🀄️open in new window 🔗open in new window
2404出现最频繁的偶数元素数组 哈希表 计数🟢🀄️open in new window 🔗open in new window
2406将区间分为最少组数[✓]贪心 数组 双指针 3+🟠🀄️open in new window 🔗open in new window
2407最长递增子序列 II树状数组 线段树 队列 4+🔴🀄️open in new window 🔗open in new window
2408设计 SQL 🔒设计 数组 哈希表 1+🟠🀄️open in new window 🔗open in new window
2410运动员和训练师的最大匹配数贪心 数组 双指针 1+🟠🀄️open in new window 🔗open in new window
2411按位或最大的最小子数组长度位运算 数组 二分查找 1+🟠🀄️open in new window 🔗open in new window
2412完成所有交易的初始最少钱数贪心 数组 排序🔴🀄️open in new window 🔗open in new window
2416字符串的前缀分数和[✓]字典树 数组 字符串 1+🔴🀄️open in new window 🔗open in new window
2418按身高排序数组 哈希表 字符串 1+🟢🀄️open in new window 🔗open in new window
2419按位与最大的最长子数组位运算 脑筋急转弯 数组🟠🀄️open in new window 🔗open in new window
2420找到所有好下标数组 动态规划 前缀和🟠🀄️open in new window 🔗open in new window
2421好路径的数目 并查集 3+🔴🀄️open in new window 🔗open in new window
2422使用合并操作将数组转换为回文序列 🔒贪心 数组 双指针🟠🀄️open in new window 🔗open in new window
2425所有数对的异或和位运算 脑筋急转弯 数组🟠🀄️open in new window 🔗open in new window
2426满足不等式的数对数目树状数组 线段树 数组 4+🔴🀄️open in new window 🔗open in new window
2428沙漏的最大总和数组 矩阵 前缀和🟠🀄️open in new window 🔗open in new window
2431最大限度地提高购买水果的口味 🔒数组 动态规划🟠🀄️open in new window 🔗open in new window
2432处理用时最长的那个任务的员工数组🟢🀄️open in new window 🔗open in new window
2433找出前缀异或的原始数组位运算 数组🟠🀄️open in new window 🔗open in new window
2435矩阵中和能被 K 整除的路径数组 动态规划 矩阵🔴🀄️open in new window 🔗open in new window
2436使子数组最大公约数大于一的最小分割数 🔒贪心 数组 数学 2+🟠🀄️open in new window 🔗open in new window
2438二的幂数组中查询范围内的乘积位运算 数组 前缀和🟠🀄️open in new window 🔗open in new window
2439最小化数组中的最大值贪心 数组 二分查找 2+🟠🀄️open in new window 🔗open in new window
2440创建价值相同的连通块 深度优先搜索 数组 2+🔴🀄️open in new window 🔗open in new window
2441与对应负数同时存在的最大正整数数组 哈希表 双指针 1+🟢🀄️open in new window 🔗open in new window
2442反转之后不同整数的数目数组 哈希表 数学 1+🟠🀄️open in new window 🔗open in new window
2444统计定界子数组的数目队列 数组 滑动窗口 1+🔴🀄️open in new window 🔗open in new window
2446判断两个事件是否存在冲突数组 字符串🟢🀄️open in new window 🔗open in new window
2447最大公因数等于 K 的子数组数目数组 数学 数论🟠🀄️open in new window 🔗open in new window
2448使数组相等的最小开销贪心 数组 二分查找 2+🔴🀄️open in new window 🔗open in new window
2449使数组相似的最少操作次数贪心 数组 排序🔴🀄️open in new window 🔗open in new window
2451差值数组不同的字符串数组 哈希表 字符串🟢🀄️open in new window 🔗open in new window
2452距离字典两次编辑以内的单词数组 字符串🟠🀄️open in new window 🔗open in new window
2453摧毁一系列目标数组 哈希表 计数🟠🀄️open in new window 🔗open in new window
2454下一个更大元素 IV 数组 二分查找 3+🔴🀄️open in new window 🔗open in new window
2455可被三整除的偶数的平均值数组 数学🟢🀄️open in new window 🔗open in new window
2456最流行的视频创作者数组 哈希表 字符串 2+🟠🀄️open in new window 🔗open in new window
2458移除子树后的二叉树高度[✓] 深度优先搜索 广度优先搜索 2+🔴🀄️open in new window 🔗open in new window
2459通过移动项目到空白区域来排序数组 🔒贪心 数组 排序🔴🀄️open in new window 🔗open in new window
2460对数组执行操作数组 双指针 模拟🟢🀄️open in new window 🔗open in new window
2461长度为 K 子数组中的最大和[✓]数组 哈希表 滑动窗口🟠🀄️open in new window 🔗open in new window
2462雇佣 K 位工人的总代价数组 双指针 模拟 1+🟠🀄️open in new window 🔗open in new window
2463最小移动总距离[✓]数组 动态规划 排序🔴🀄️open in new window 🔗open in new window
2464有效分割中的最少子数组数目 🔒数组 数学 动态规划 1+🟠🀄️open in new window 🔗open in new window
2465不同的平均值数目数组 哈希表 双指针 1+🟢🀄️open in new window 🔗open in new window
2467树上最大得分和路径 深度优先搜索 广度优先搜索 2+🟠🀄️open in new window 🔗open in new window
2470最小公倍数等于 K 的子数组数目数组 数学 数论🟠🀄️open in new window 🔗open in new window
2473购买苹果的最低成本 🔒 数组 最短路 1+🟠🀄️open in new window 🔗open in new window
2475数组中不等三元组的数目数组 哈希表 排序🟢🀄️open in new window 🔗open in new window
2476二叉搜索树最近节点查询 深度优先搜索 二叉搜索树 3+🟠🀄️open in new window 🔗open in new window
2482行和列中一和零的差值数组 矩阵 模拟🟠🀄️open in new window 🔗open in new window
2488统计中位数为 K 的子数组数组 哈希表 前缀和🔴🀄️open in new window 🔗open in new window
2491划分技能点相等的团队[✓]数组 哈希表 双指针 1+🟠🀄️open in new window 🔗open in new window
2495乘积为偶数的子数组数 🔒数组 数学 动态规划🟠🀄️open in new window 🔗open in new window
2496数组中字符串的最大值数组 字符串🟢🀄️open in new window 🔗open in new window
2497图中最大星和贪心 数组 2+🟠🀄️open in new window 🔗open in new window
2498青蛙过河 II贪心 数组 二分查找🟠🀄️open in new window 🔗open in new window
2499让数组不相等的最小总代价贪心 数组 哈希表 1+🔴🀄️open in new window 🔗open in new window
2500删除每行中的最大值数组 矩阵 排序 2+🟢🀄️open in new window 🔗open in new window
2501数组中最长的方波[✓]数组 哈希表 二分查找 2+🟠🀄️open in new window 🔗open in new window
2502设计内存分配器设计 数组 哈希表 1+🟠🀄️open in new window 🔗open in new window
2503矩阵查询可获得的最大分数广度优先搜索 并查集 数组 4+🔴🀄️open in new window 🔗open in new window
2505所有子序列和的按位或 🔒位运算 脑筋急转弯 数组 1+🟠🀄️open in new window 🔗open in new window
2506统计相似字符串对的数目位运算 数组 哈希表 2+🟢🀄️open in new window 🔗open in new window
2509查询树中环的长度 数组 二叉树🔴🀄️open in new window 🔗open in new window
2510检查是否有路径经过相同数量的 0 和 1 🔒数组 动态规划 矩阵🟠🀄️open in new window 🔗open in new window
2511最多可以摧毁的敌人城堡数目数组 双指针🟢🀄️open in new window 🔗open in new window
2512奖励最顶尖的 K 名学生数组 哈希表 字符串 2+🟠🀄️open in new window 🔗open in new window
2515到目标字符串的最短距离数组 字符串🟢🀄️open in new window 🔗open in new window
2517礼盒的最大甜蜜度贪心 数组 二分查找 1+🟠🀄️open in new window 🔗open in new window
2518好分区的数目数组 动态规划🔴🀄️open in new window 🔗open in new window
2519统计 K-Big 索引的数量 🔒树状数组 线段树 数组 4+🔴🀄️open in new window 🔗open in new window
2521数组乘积中的不同质因数数目数组 哈希表 数学 1+🟠🀄️open in new window 🔗open in new window
2524子数组的最大频率分数 🔒数组 哈希表 数学 1+🔴🀄️open in new window 🔗open in new window
2527查询数组异或美丽值位运算 数组 数学🟠🀄️open in new window 🔗open in new window
2528最大化城市的最小电量贪心 队列 数组 3+🔴🀄️open in new window 🔗open in new window
2529正整数和负整数的最大计数数组 二分查找 计数🟢🀄️open in new window 🔗open in new window
2530执行 K 次操作后的最大分数[✓]贪心 数组 堆(优先队列)🟠🀄️open in new window 🔗open in new window
2532过桥的时间数组 模拟 堆(优先队列)🔴🀄️open in new window 🔗open in new window
2534通过门的时间 🔒队列 数组 模拟🔴🀄️open in new window 🔗open in new window
2535数组元素和与数字和的绝对差数组 数学🟢🀄️open in new window 🔗open in new window
2536子矩阵元素加 1数组 矩阵 前缀和🟠🀄️open in new window 🔗open in new window
2537统计好子数组的数目数组 哈希表 滑动窗口🟠🀄️open in new window 🔗open in new window
2538最大价值和与最小价值和的差值 深度优先搜索 数组 1+🔴🀄️open in new window 🔗open in new window
2540最小公共值数组 哈希表 双指针 1+🟢🀄️open in new window 🔗open in new window
2541使数组中所有元素相等的最小操作数 II贪心 数组 数学🟠🀄️open in new window 🔗open in new window
2542最大子序列的分数贪心 数组 排序 1+🟠🀄️open in new window 🔗open in new window
2545根据第 K 场考试的分数排序数组 矩阵 排序🟠🀄️open in new window 🔗open in new window
2547拆分数组的最小代价数组 哈希表 动态规划 1+🔴🀄️open in new window 🔗open in new window
2548填满背包的最大价格 🔒贪心 数组 排序🟠🀄️open in new window 🔗open in new window
2549统计桌面上的不同数字数组 哈希表 数学 1+🟢🀄️open in new window 🔗open in new window
2551将珠子放入背包中贪心 数组 排序 1+🔴🀄️open in new window 🔗open in new window
2552统计上升四元组树状数组 数组 动态规划 2+🔴🀄️open in new window 🔗open in new window
2553分割数组中数字的数位数组 模拟🟢🀄️open in new window 🔗open in new window
2554从一个范围内选择最多整数 I贪心 数组 哈希表 2+🟠🀄️open in new window 🔗open in new window
2555两个线段获得的最多奖品数组 二分查找 滑动窗口🟠🀄️open in new window 🔗open in new window
2556二进制矩阵中翻转最多一次使路径不连通深度优先搜索 广度优先搜索 数组 2+🟠🀄️open in new window 🔗open in new window
2557从一个范围内选择最多整数 II 🔒贪心 数组 二分查找 1+🟠🀄️open in new window 🔗open in new window
2558从数量最多的堆取走礼物数组 模拟 堆(优先队列)🟢🀄️open in new window 🔗open in new window
2559统计范围内的元音字符串数数组 字符串 前缀和🟠🀄️open in new window 🔗open in new window
2560打家劫舍 IV数组 二分查找🟠🀄️open in new window 🔗open in new window
2561重排水果贪心 数组 哈希表🔴🀄️open in new window 🔗open in new window
2562找出数组的串联值数组 双指针 模拟🟢🀄️open in new window 🔗open in new window
2563统计公平数对的数目[✓]数组 双指针 二分查找 1+🟠🀄️open in new window 🔗open in new window
2564子字符串异或查询位运算 数组 哈希表 1+🟠🀄️open in new window 🔗open in new window
2567修改两个元素的最小分数贪心 数组 排序🟠🀄️open in new window 🔗open in new window
2568最小无法得到的或值位运算 脑筋急转弯 数组🟠🀄️open in new window 🔗open in new window
2569更新数组后处理求和查询线段树 数组🔴🀄️open in new window 🔗open in new window
2570合并两个二维数组 - 求和法数组 哈希表 双指针🟢🀄️open in new window 🔗open in new window
2572无平方子集计数位运算 数组 数学 2+🟠🀄️open in new window 🔗open in new window
2573找出对应 LCP 矩阵的字符串贪心 并查集 数组 3+🔴🀄️open in new window 🔗open in new window
2574左右元素和的差值数组 前缀和🟢🀄️open in new window 🔗open in new window
2575找出字符串的可整除数组数组 数学 字符串🟠🀄️open in new window 🔗open in new window
2576求出最多标记下标贪心 数组 双指针 2+🟠🀄️open in new window 🔗open in new window
2577在网格图中访问一个格子的最少时间广度优先搜索 数组 3+🔴🀄️open in new window 🔗open in new window
2580统计将重叠区间合并成组的方案数数组 排序🟠🀄️open in new window 🔗open in new window
2581统计可能的树根数目 深度优先搜索 数组 2+🔴🀄️open in new window 🔗open in new window
2584分割数组使乘积互质数组 哈希表 数学 1+🔴🀄️open in new window 🔗open in new window
2585获得分数的方法数数组 动态规划🔴🀄️open in new window 🔗open in new window
2586统计范围内的元音字符串数数组 字符串 计数🟢🀄️open in new window 🔗open in new window
2587重排数组以得到最大前缀分数贪心 数组 前缀和 1+🟠🀄️open in new window 🔗open in new window
2588统计美丽子数组数目位运算 数组 哈希表 1+🟠🀄️open in new window 🔗open in new window
2589完成所有任务的最少时间 贪心 数组 2+🔴🀄️open in new window 🔗open in new window
2590设计一个待办事项清单 🔒设计 数组 哈希表 2+🟠🀄️open in new window 🔗open in new window
2592最大化数组的伟大值贪心 数组 双指针 1+🟠🀄️open in new window 🔗open in new window
2593标记所有元素后数组的分数数组 哈希表 排序 2+🟠🀄️open in new window 🔗open in new window
2594修车的最少时间数组 二分查找🟠🀄️open in new window 🔗open in new window
2596检查骑士巡视方案深度优先搜索 广度优先搜索 数组 2+🟠🀄️open in new window 🔗open in new window
2597美丽子集的数目数组 哈希表 数学 4+🟠🀄️open in new window 🔗open in new window
2598执行操作后的最大 MEX贪心 数组 哈希表 1+🟠🀄️open in new window 🔗open in new window
2599使前缀和数组非负 🔒贪心 数组 堆(优先队列)🟠🀄️open in new window 🔗open in new window
2601质数减法运算[✓]贪心 数组 数学 2+🟠🀄️open in new window 🔗open in new window
2602使数组元素全部相等的最少操作次数数组 二分查找 前缀和 1+🟠🀄️open in new window 🔗open in new window
2603收集树中金币 拓扑排序 1+🔴🀄️open in new window 🔗open in new window
2604吃掉所有谷子的最短时间 🔒数组 双指针 二分查找 1+🔴🀄️open in new window 🔗open in new window
2605从两个数字数组里生成最小数字数组 哈希表 枚举🟢🀄️open in new window 🔗open in new window
2606找到最大开销的子字符串数组 哈希表 字符串 1+🟠🀄️open in new window 🔗open in new window
2607使子数组元素和相等数组 数学 数论 1+🟠🀄️open in new window 🔗open in new window
2610转换二维数组数组 哈希表🟠🀄️open in new window 🔗open in new window
2611老鼠和奶酪贪心 数组 排序 1+🟠🀄️open in new window 🔗open in new window
2612最少翻转操作数广度优先搜索 数组 有序集合🔴🀄️open in new window 🔗open in new window
2613美数对 🔒几何 数组 数学 3+🔴🀄️open in new window 🔗open in new window
2614对角线上的质数数组 数学 矩阵 1+🟢🀄️open in new window 🔗open in new window
2615等值距离和数组 哈希表 前缀和🟠🀄️open in new window 🔗open in new window
2616最小化数对的最大差值贪心 数组 二分查找🟠🀄️open in new window 🔗open in new window
2617网格图中最少访问的格子数 广度优先搜索 并查集 5+🔴🀄️open in new window 🔗open in new window
2638统计 K-Free 子集的总数 🔒数组 数学 动态规划 2+🟠🀄️open in new window 🔗open in new window
2639查询网格图中每一列的宽度数组 矩阵🟢🀄️open in new window 🔗open in new window
2640一个数组所有前缀的分数数组 前缀和🟠🀄️open in new window 🔗open in new window
2643一最多的行数组 矩阵🟢🀄️open in new window 🔗open in new window
2644找出可整除性得分最大的整数数组🟢🀄️open in new window 🔗open in new window
2646最小化旅行的价格总和 深度优先搜索 2+🔴🀄️open in new window 🔗open in new window
2647把三角形染成红色 🔒数组 数学🔴🀄️open in new window 🔗open in new window
2653滑动子数组的美丽值数组 哈希表 滑动窗口🟠🀄️open in new window 🔗open in new window
2654使数组所有元素变成 1 的最少操作次数数组 数学 数论🟠🀄️open in new window 🔗open in new window
2655寻找最大长度的未覆盖区间 🔒数组 排序🟠🀄️open in new window 🔗open in new window
2656K 个元素的最大和贪心 数组🟢🀄️open in new window 🔗open in new window
2657找到两个数组的前缀公共数组位运算 数组 哈希表🟠🀄️open in new window 🔗open in new window
2658网格图中鱼的最大数目深度优先搜索 广度优先搜索 并查集 2+🟠🀄️open in new window 🔗open in new window
2659将数组清空贪心 树状数组 线段树 4+🔴🀄️open in new window 🔗open in new window
2660保龄球游戏的获胜者数组 模拟🟢🀄️open in new window 🔗open in new window
2661找出叠涂元素数组 哈希表 矩阵🟠🀄️open in new window 🔗open in new window
2662前往目标的最小代价 数组 最短路 1+🟠🀄️open in new window 🔗open in new window
2664巡逻的骑士 🔒数组 回溯 矩阵🟠🀄️open in new window 🔗open in new window
2670找出不同元素数目差数组数组 哈希表🟢🀄️open in new window 🔗open in new window
2672有相同颜色的相邻元素数目数组🟠🀄️open in new window 🔗open in new window
2673使二叉树所有路径值相等的最小代价贪心 数组 2+🟠🀄️open in new window 🔗open in new window
2678老人的数目数组 字符串🟢🀄️open in new window 🔗open in new window
2679矩阵中的和数组 矩阵 排序 2+🟠🀄️open in new window 🔗open in new window
2680最大或值贪心 位运算 数组 1+🟠🀄️open in new window 🔗open in new window
2681英雄的力量数组 数学 动态规划 2+🔴🀄️open in new window 🔗open in new window
2682找出转圈游戏输家数组 哈希表 模拟🟢🀄️open in new window 🔗open in new window
2683相邻值的按位异或位运算 数组🟠🀄️open in new window 🔗open in new window
2684矩阵中移动的最大次数[✓]数组 动态规划 矩阵🟠🀄️open in new window 🔗open in new window
2702使数字变为非正数的最小操作次数 🔒数组 二分查找🔴🀄️open in new window 🔗open in new window
2706购买两块巧克力贪心 数组 排序🟢🀄️open in new window 🔗open in new window
2707字符串中的额外字符字典树 数组 哈希表 2+🟠🀄️open in new window 🔗open in new window
2708一个小组的最大实力值贪心 位运算 数组 4+🟠🀄️open in new window 🔗open in new window
2709最大公约数遍历并查集 数组 数学 1+🔴🀄️open in new window 🔗open in new window
2711对角线上不同值的数量差数组 哈希表 矩阵🟠🀄️open in new window 🔗open in new window
2713矩阵中严格递增的单元格数记忆化搜索 数组 哈希表 5+🔴🀄️open in new window 🔗open in new window
2717半有序排列数组 模拟🟢🀄️open in new window 🔗open in new window
2718查询后矩阵的和数组 哈希表🟠🀄️open in new window 🔗open in new window
2728计算一个环形街道上的房屋数量 🔒数组 交互🟢🀄️open in new window 🔗open in new window
2731移动机器人脑筋急转弯 数组 前缀和 1+🟠🀄️open in new window 🔗open in new window
2732找到矩阵中的好子集位运算 数组 哈希表 1+🔴🀄️open in new window 🔗open in new window
2733既不是最小值也不是最大值数组 排序🟢🀄️open in new window 🔗open in new window
2735收集巧克力数组 枚举🟠🀄️open in new window 🔗open in new window
2736最大和查询 树状数组 线段树 4+🔴🀄️open in new window 🔗open in new window
2737找到最近的标记节点 🔒 数组 最短路 1+🟠🀄️open in new window 🔗open in new window
2740找出分区值[✓]数组 排序🟠🀄️open in new window 🔗open in new window
2741特别的排列位运算 数组 动态规划 1+🟠🀄️open in new window 🔗open in new window
2742给墙壁刷油漆数组 动态规划🔴🀄️open in new window 🔗open in new window
2744最大字符串配对数目数组 哈希表 字符串 1+🟢🀄️open in new window 🔗open in new window
2746字符串连接删减字母数组 字符串 动态规划🟠🀄️open in new window 🔗open in new window
2747统计没有收到请求的服务器数目数组 哈希表 排序 1+🟠🀄️open in new window 🔗open in new window
2748美丽下标对的数目数组 哈希表 数学 2+🟢🀄️open in new window 🔗open in new window
2750将数组划分成若干好子数组的方式数组 数学 动态规划🟠🀄️open in new window 🔗open in new window
2751机器人碰撞 数组 排序 1+🔴🀄️open in new window 🔗open in new window
2760最长奇偶子数组数组 滑动窗口🟢🀄️open in new window 🔗open in new window
2761和等于目标值的质数对数组 数学 枚举 1+🟠🀄️open in new window 🔗open in new window
2762不间断子数组队列 数组 有序集合 3+🟠🀄️open in new window 🔗open in new window
2763所有子数组中不平衡数字之和数组 哈希表 有序集合🔴🀄️open in new window 🔗open in new window
2765最长交替子数组数组 枚举🟢🀄️open in new window 🔗open in new window
2766重新放置石块数组 哈希表 排序 1+🟠🀄️open in new window 🔗open in new window
2768黑格子的数目数组 哈希表 枚举🟠🀄️open in new window 🔗open in new window
2770达到末尾下标所需的最大跳跃次数数组 动态规划🟠🀄️open in new window 🔗open in new window
2771构造最长非递减子数组数组 动态规划🟠🀄️open in new window 🔗open in new window
2772使数组中的所有元素都等于零数组 前缀和🟠🀄️open in new window 🔗open in new window
2778特殊元素平方和数组 枚举🟢🀄️open in new window 🔗open in new window
2779数组的最大美丽值数组 二分查找 排序 1+🟠🀄️open in new window 🔗open in new window
2780合法分割的最小下标数组 哈希表 排序🟠🀄️open in new window 🔗open in new window
2781最长合法子字符串的长度数组 哈希表 字符串 1+🔴🀄️open in new window 🔗open in new window
2784检查数组是否是好的数组 哈希表 排序🟢🀄️open in new window 🔗open in new window
2786访问数组中的位置使分数最大数组 动态规划🟠🀄️open in new window 🔗open in new window
2788按分隔符拆分字符串数组 字符串🟢🀄️open in new window 🔗open in new window
2789合并后数组中的最大元素贪心 数组🟠🀄️open in new window 🔗open in new window
2790长度递增组的最大数目贪心 数组 数学 2+🔴🀄️open in new window 🔗open in new window
2798满足目标工作时长的员工数目数组🟢🀄️open in new window 🔗open in new window
2799统计完全子数组的数目数组 哈希表 滑动窗口🟠🀄️open in new window 🔗open in new window
2808使循环数组所有元素相等的最少秒数数组 哈希表🟠🀄️open in new window 🔗open in new window
2809使数组和小于等于 x 的最少时间数组 动态规划 排序🔴🀄️open in new window 🔗open in new window
2811判断是否能拆分数组贪心 数组 动态规划🟠🀄️open in new window 🔗open in new window
2812找出最安全路径广度优先搜索 并查集 数组 2+🟠🀄️open in new window 🔗open in new window
2813子序列最大优雅度 贪心 数组 3+🔴🀄️open in new window 🔗open in new window
2814避免淹死并到达目的地的最短时间 🔒广度优先搜索 数组 矩阵🔴🀄️open in new window 🔗open in new window
2815数组中的最大数对和数组 哈希表🟢🀄️open in new window 🔗open in new window
2817限制条件下元素之间的最小绝对差数组 二分查找 有序集合🟠🀄️open in new window 🔗open in new window
2818操作使得分最大 贪心 数组 3+🔴🀄️open in new window 🔗open in new window
2819购买巧克力后的最小相对损失 🔒数组 二分查找 前缀和 1+🔴🀄️open in new window 🔗open in new window
2824统计和小于目标的下标对数目数组 双指针 二分查找 1+🟢🀄️open in new window 🔗open in new window
2826将三个组排序数组 二分查找 动态规划🟠🀄️open in new window 🔗open in new window
2828判别首字母缩略词数组 字符串🟢🀄️open in new window 🔗open in new window
2830销售利润最大化数组 哈希表 二分查找 2+🟠🀄️open in new window 🔗open in new window
2831找出最长等值子数组数组 哈希表 二分查找 1+🟠🀄️open in new window 🔗open in new window
2832每个元素为最大值的最大范围 🔒 数组 单调栈🟠🀄️open in new window 🔗open in new window
2835使子序列的和等于目标的最少操作次数贪心 位运算 数组🔴🀄️open in new window 🔗open in new window
2836在传球游戏中最大化函数值位运算 数组 动态规划🔴🀄️open in new window 🔗open in new window
2838英雄可以获得的最大金币数 🔒数组 双指针 二分查找 2+🟠🀄️open in new window 🔗open in new window
2841几乎唯一子数组的最大和数组 哈希表 滑动窗口🟠🀄️open in new window 🔗open in new window
2845统计趣味子数组的数目数组 哈希表 前缀和🟠🀄️open in new window 🔗open in new window
2846边权重均等查询 数组 1+🔴🀄️open in new window 🔗open in new window
2848与车相交的点数组 哈希表 前缀和🟢🀄️open in new window 🔗open in new window
2850将石头分散到网格图的最少移动次数广度优先搜索 数组 动态规划 1+🟠🀄️open in new window 🔗open in new window
2852所有单元格的远离程度之和 🔒深度优先搜索 广度优先搜索 并查集 3+🟠🀄️open in new window 🔗open in new window
2855使数组成为递增数组的最少右移次数数组🟢🀄️open in new window 🔗open in new window
2856删除数对后的最小数组长度贪心 数组 哈希表 3+🟠🀄️open in new window 🔗open in new window
2857统计距离为 k 的点对位运算 数组 哈希表🟠🀄️open in new window 🔗open in new window
2859计算 K 置位下标对应元素的和位运算 数组🟢🀄️open in new window 🔗open in new window
2860让所有学生保持开心的分组方法数数组 枚举 排序🟠🀄️open in new window 🔗open in new window
2861最大合金数数组 二分查找🟠🀄️open in new window 🔗open in new window
2862完全子集的最大元素和数组 数学 数论🔴🀄️open in new window 🔗open in new window
2863最长半递减子数组的长度 🔒 数组 排序 1+🟠🀄️open in new window 🔗open in new window
2865美丽塔 I 数组 单调栈🟠🀄️open in new window 🔗open in new window
2866美丽塔 II 数组 单调栈🟠🀄️open in new window 🔗open in new window
2868单词游戏 🔒贪心 数组 数学 3+🔴🀄️open in new window 🔗open in new window
2869收集元素的最少操作次数位运算 数组 哈希表🟢🀄️open in new window 🔗open in new window
2870使数组为空的最少操作次数贪心 数组 哈希表 1+🟠🀄️open in new window 🔗open in new window
2871将数组分割成最多数目的子数组贪心 位运算 数组🟠🀄️open in new window 🔗open in new window
2873有序三元组中的最大值 I数组🟢🀄️open in new window 🔗open in new window
2874有序三元组中的最大值 II数组🟠🀄️open in new window 🔗open in new window
2875无限数组的最短子数组数组 哈希表 前缀和 1+🟠🀄️open in new window 🔗open in new window
2892将相邻元素相乘后得到最小化数组 🔒贪心 数组 动态规划🟠🀄️open in new window 🔗open in new window
2895最小处理时间贪心 数组 排序🟠🀄️open in new window 🔗open in new window
2897对数组执行操作使平方和最大贪心 位运算 数组 1+🔴🀄️open in new window 🔗open in new window
2898最大线性股票得分 🔒数组 哈希表🟠🀄️open in new window 🔗open in new window
2899上一个遍历的整数数组 模拟🟢🀄️open in new window 🔗open in new window
2900最长相邻不相等子序列 I贪心 数组 字符串 1+🟢🀄️open in new window 🔗open in new window
2901最长相邻不相等子序列 II数组 字符串 动态规划🟠🀄️open in new window 🔗open in new window
2902和带限制的子多重集合的数目数组 哈希表 动态规划 1+🔴🀄️open in new window 🔗open in new window
2903找出满足差值条件的下标 I数组 双指针🟢🀄️open in new window 🔗open in new window
2905找出满足差值条件的下标 II数组 双指针🟠🀄️open in new window 🔗open in new window
2906构造乘积矩阵数组 矩阵 前缀和🟠🀄️open in new window 🔗open in new window
2907价格递增的最大利润三元组 I 🔒树状数组 线段树 数组🟠🀄️open in new window 🔗open in new window
2908元素和最小的山形三元组 I数组🟢🀄️open in new window 🔗open in new window
2909元素和最小的山形三元组 II数组🟠🀄️open in new window 🔗open in new window
2910合法分组的最少组数贪心 数组 哈希表🟠🀄️open in new window 🔗open in new window
2913子数组不同元素数目的平方和 I数组 哈希表🟢🀄️open in new window 🔗open in new window
2915和为目标值的最长子序列的长度数组 动态规划🟠🀄️open in new window 🔗open in new window
2916子数组不同元素数目的平方和 II树状数组 线段树 数组 1+🔴🀄️open in new window 🔗open in new window
2917找出数组中的 K-or 值位运算 数组🟢🀄️open in new window 🔗open in new window
2918数组的最小相等和贪心 数组🟠🀄️open in new window 🔗open in new window
2919使数组变美的最小增量运算数数组 动态规划🟠🀄️open in new window 🔗open in new window
2920收集所有金币可获得的最大积分位运算 深度优先搜索 2+🔴🀄️open in new window 🔗open in new window
2921价格递增的最大利润三元组 II 🔒树状数组 线段树 数组🔴🀄️open in new window 🔗open in new window
2923找到冠军 I数组 矩阵🟢🀄️open in new window 🔗open in new window
2926平衡子序列的最大和树状数组 线段树 数组 2+🔴🀄️open in new window 🔗open in new window
2931购买物品的最大开销贪心 数组 矩阵 2+🔴🀄️open in new window 🔗open in new window
2932找出强数对的最大异或值 I位运算 字典树 数组 2+🟢🀄️open in new window 🔗open in new window
2933高访问员工数组 哈希表 字符串 1+🟠🀄️open in new window 🔗open in new window
2934最大化数组末位元素的最少操作次数数组 枚举🟠🀄️open in new window 🔗open in new window
2935找出强数对的最大异或值 II位运算 字典树 数组 2+🔴🀄️open in new window 🔗open in new window
2936包含相等值数字块的数量 🔒数组 二分查找 交互🟠🀄️open in new window 🔗open in new window
2940找到 Alice 和 Bob 可以相遇的建筑 树状数组 线段树 4+🔴🀄️open in new window 🔗open in new window
2941子数组的最大 GCD-Sum 🔒数组 数学 二分查找 1+🔴🀄️open in new window 🔗open in new window
2942查找包含给定字符的单词数组 字符串🟢🀄️open in new window 🔗open in new window
2943最大化网格图中正方形空洞的面积数组 排序🟠🀄️open in new window 🔗open in new window
2944购买水果需要的最少金币数队列 数组 动态规划 2+🟠🀄️open in new window 🔗open in new window
2945找到最大非递减数组的长度 队列 数组 4+🔴🀄️open in new window 🔗open in new window
2946循环移位后的矩阵相似检查数组 数学 矩阵 1+🟢🀄️open in new window 🔗open in new window
2948交换得到字典序最小的数组并查集 数组 排序🟠🀄️open in new window 🔗open in new window
2951找出峰值数组 枚举🟢🀄️open in new window 🔗open in new window
2952需要添加的硬币的最小数量贪心 数组 排序🟠🀄️open in new window 🔗open in new window
2954统计感冒序列的数目数组 数学 组合数学🔴🀄️open in new window 🔗open in new window
2955同端子串的数量 🔒数组 哈希表 字符串 2+🟠🀄️open in new window 🔗open in new window
2956找到两个数组中的公共元素数组 哈希表🟢🀄️open in new window 🔗open in new window
2958最多 K 个重复元素的最长子数组数组 哈希表 滑动窗口🟠🀄️open in new window 🔗open in new window
2960统计已测试设备数组 计数 模拟🟢🀄️open in new window 🔗open in new window
2961双模幂运算数组 数学 模拟🟠🀄️open in new window 🔗open in new window
2962统计最大元素出现至少 K 次的子数组数组 滑动窗口🟠🀄️open in new window 🔗open in new window
2963统计好分割方案的数目数组 哈希表 数学 1+🔴🀄️open in new window 🔗open in new window
2964可被整除的三元组数量 🔒数组 哈希表🟠🀄️open in new window 🔗open in new window
2965找出缺失和重复的数字数组 哈希表 数学 1+🟢🀄️open in new window 🔗open in new window
2966划分数组并满足最大差限制贪心 数组 排序🟠🀄️open in new window 🔗open in new window
2967使数组成为等数数组的最小代价贪心 数组 数学 2+🟠🀄️open in new window 🔗open in new window
2968执行操作使频率分数最大数组 二分查找 前缀和 2+🔴🀄️open in new window 🔗open in new window
2969购买水果需要的最少金币数 II 🔒队列 数组 动态规划 2+🔴🀄️open in new window 🔗open in new window
2970统计移除递增子数组的数目 I数组 双指针 二分查找 1+🟢🀄️open in new window 🔗open in new window
2971找到最大周长的多边形贪心 数组 前缀和 1+🟠🀄️open in new window 🔗open in new window
2972统计移除递增子数组的数目 II数组 双指针 二分查找🔴🀄️open in new window 🔗open in new window
2974最小数字游戏数组 排序 模拟 1+🟢🀄️open in new window 🔗open in new window
2975移除栅栏得到的正方形田地的最大面积数组 哈希表 枚举🟠🀄️open in new window 🔗open in new window
2976转换字符串的最小成本 I 数组 字符串 1+🟠🀄️open in new window 🔗open in new window
2977转换字符串的最小成本 II 字典树 数组 3+🔴🀄️open in new window 🔗open in new window
2980检查按位或是否存在尾随零位运算 数组🟢🀄️open in new window 🔗open in new window
2992自整除排列的数量 🔒位运算 数组 动态规划 2+🟠🀄️open in new window 🔗open in new window
2996大于等于顺序前缀和的最小缺失整数数组 哈希表 排序🟢🀄️open in new window 🔗open in new window
2997使数组异或和等于 K 的最少操作次数位运算 数组🟠🀄️open in new window 🔗open in new window
3000对角线最长的矩形的面积数组🟢🀄️open in new window 🔗open in new window
3001捕获黑皇后需要的最少移动次数数组 枚举🟠🀄️open in new window 🔗open in new window
3002移除后集合的最多元素数贪心 数组 哈希表🟠🀄️open in new window 🔗open in new window
3004相同颜色的最大子树 🔒 深度优先搜索 数组 1+🟠🀄️open in new window 🔗open in new window
3005最大频率元素计数数组 哈希表 计数🟢🀄️open in new window 🔗open in new window
3009折线图上的最大交点数量 🔒树状数组 几何 数组 1+🔴🀄️open in new window 🔗open in new window
3010将数组分成最小总代价的子数组 I数组 枚举 排序🟢🀄️open in new window 🔗open in new window
3011判断一个数组是否可以变为有序[✓]位运算 数组 排序🟠🀄️open in new window 🔗open in new window
3012通过操作使数组长度最小贪心 数组 数学 1+🟠🀄️open in new window 🔗open in new window
3013将数组分成最小总代价的子数组 II数组 哈希表 滑动窗口 1+🔴🀄️open in new window 🔗open in new window
3018可处理的最大删除操作数 I 🔒数组 动态规划🔴🀄️open in new window 🔗open in new window
3020子集中元素的最大数量数组 哈希表 枚举🟠🀄️open in new window 🔗open in new window
3022给定操作次数内使剩余元素的或值最小贪心 位运算 数组🔴🀄️open in new window 🔗open in new window
3023在无限流中寻找模式 I 🔒数组 字符串匹配 滑动窗口 2+🟠🀄️open in new window 🔗open in new window
3024三角形类型数组 数学 排序🟢🀄️open in new window 🔗open in new window
3025人员站位的方案数 I几何 数组 数学 2+🟠🀄️open in new window 🔗open in new window
3026最大好子数组和数组 哈希表 前缀和🟠🀄️open in new window 🔗open in new window
3027人员站位的方案数 II几何 数组 数学 2+🔴🀄️open in new window 🔗open in new window
3028边界上的蚂蚁数组 前缀和 模拟🟢🀄️open in new window 🔗open in new window
3030找出网格的区域平均强度数组 矩阵🟠🀄️open in new window 🔗open in new window
3033修改矩阵数组 矩阵🟢🀄️open in new window 🔗open in new window
3034匹配模式数组的子数组数目 I数组 字符串匹配 哈希函数 1+🟠🀄️open in new window 🔗open in new window
3035回文字符串的最大数量贪心 数组 哈希表 3+🟠🀄️open in new window 🔗open in new window
3036匹配模式数组的子数组数目 II数组 字符串匹配 哈希函数 1+🔴🀄️open in new window 🔗open in new window
3037在无限流中寻找模式 II 🔒数组 字符串匹配 滑动窗口 2+🔴🀄️open in new window 🔗open in new window
3038相同分数的最大操作数目 I数组 模拟🟢🀄️open in new window 🔗open in new window
3039进行操作使字符串为空数组 哈希表 计数 1+🟠🀄️open in new window 🔗open in new window
3040相同分数的最大操作数目 II记忆化搜索 数组 动态规划🟠🀄️open in new window 🔗open in new window
3041修改数组后最大化数组中的连续元素数目数组 动态规划 排序🔴🀄️open in new window 🔗open in new window
3042统计前后缀下标对 I字典树 数组 字符串 3+🟢🀄️open in new window 🔗open in new window
3043最长公共前缀的长度字典树 数组 哈希表 1+🟠🀄️open in new window 🔗open in new window
3044出现频率最高的质数数组 哈希表 数学 4+🟠🀄️open in new window 🔗open in new window
3045统计前后缀下标对 II字典树 数组 字符串 3+🔴🀄️open in new window 🔗open in new window
3046分割数组数组 哈希表 计数🟢🀄️open in new window 🔗open in new window
3047求交集区域内的最大正方形面积几何 数组 数学🟠🀄️open in new window 🔗open in new window
3048标记所有下标的最早秒数 I数组 二分查找🟠🀄️open in new window 🔗open in new window
3049标记所有下标的最早秒数 II贪心 数组 二分查找 1+🔴🀄️open in new window 🔗open in new window
3065超过阈值的最少操作数 I数组🟢🀄️open in new window 🔗open in new window
3066超过阈值的最少操作数 II数组 模拟 堆(优先队列)🟠🀄️open in new window 🔗open in new window
3067在带权树网络中统计可连接服务器对数目 深度优先搜索 数组🟠🀄️open in new window 🔗open in new window
3068最大节点价值之和贪心 位运算 3+🔴🀄️open in new window 🔗open in new window
3069将元素分配到两个数组中 I数组 模拟🟢🀄️open in new window 🔗open in new window
3070元素和小于等于 k 的子矩阵的数目数组 矩阵 前缀和🟠🀄️open in new window 🔗open in new window
3071在矩阵上写出字母 Y 所需的最少操作次数数组 哈希表 计数 1+🟠🀄️open in new window 🔗open in new window
3072将元素分配到两个数组中 II树状数组 线段树 数组 1+🔴🀄️open in new window 🔗open in new window
3073最大递增三元组 🔒数组 有序集合🟠🀄️open in new window 🔗open in new window
3074重新分装苹果贪心 数组 排序🟢🀄️open in new window 🔗open in new window
3075幸福值最大化的选择方案贪心 数组 排序🟠🀄️open in new window 🔗open in new window
3076数组中的最短非公共子字符串字典树 数组 哈希表 1+🟠🀄️open in new window 🔗open in new window
3077K 个不相交子数组的最大能量值数组 动态规划 前缀和🔴🀄️open in new window 🔗open in new window
3078矩阵中的字母数字模式匹配 I 🔒数组 哈希表 字符串 1+🟠🀄️open in new window 🔗open in new window
3079求出加密整数的和数组 数学🟢🀄️open in new window 🔗open in new window
3080执行操作标记数组中的元素数组 哈希表 排序 2+🟠🀄️open in new window 🔗open in new window
3082求出所有子序列的能量和数组 动态规划🔴🀄️open in new window 🔗open in new window
3086拾起 K 个 1 需要的最少行动次数贪心 数组 前缀和 1+🔴🀄️open in new window 🔗open in new window
3092最高频率的 ID数组 哈希表 有序集合 1+🟠🀄️open in new window 🔗open in new window
3093最长公共后缀查询字典树 数组 字符串🔴🀄️open in new window 🔗open in new window
3095或值至少 K 的最短子数组 I位运算 数组 滑动窗口🟢🀄️open in new window 🔗open in new window
3096得到更多分数的最少关卡数目数组 前缀和🟠🀄️open in new window 🔗open in new window
3097或值至少为 K 的最短子数组 II[✓]位运算 数组 滑动窗口🟠🀄️open in new window 🔗open in new window
3098求出所有子序列的能量和数组 动态规划 排序🔴🀄️open in new window 🔗open in new window
3101交替子数组计数数组 数学🟠🀄️open in new window 🔗open in new window
3102最小化曼哈顿距离几何 数组 数学 2+🔴🀄️open in new window 🔗open in new window
3105最长的严格递增或递减子数组数组🟢🀄️open in new window 🔗open in new window
3107使数组中位数等于 K 的最少操作数贪心 数组 排序🟠🀄️open in new window 🔗open in new window
3108带权图里旅途的最小代价位运算 并查集 1+🔴🀄️open in new window 🔗open in new window
3109查找排列的下标 🔒树状数组 线段树 数组 4+🟠🀄️open in new window 🔗open in new window
3111覆盖所有点的最少矩形数目贪心 数组 排序🟠🀄️open in new window 🔗open in new window
3112访问消失节点的最少时间 数组 最短路 1+🟠🀄️open in new window 🔗open in new window
3113边界元素是最大值的子数组数目 数组 二分查找 1+🔴🀄️open in new window 🔗open in new window
3115质数的最大距离数组 数学 数论🟠🀄️open in new window 🔗open in new window
3116单面值组合的第 K 小金额位运算 数组 数学 3+🔴🀄️open in new window 🔗open in new window
3117划分数组得到最小的值之和位运算 线段树 队列 3+🔴🀄️open in new window 🔗open in new window
3122使矩阵满足条件的最少操作次数数组 动态规划 矩阵🟠🀄️open in new window 🔗open in new window
3127构造相同颜色的正方形数组 枚举 矩阵🟢🀄️open in new window 🔗open in new window
3128直角三角形数组 哈希表 数学 2+🟠🀄️open in new window 🔗open in new window
3131找出与数组相加的整数 I数组🟢🀄️open in new window 🔗open in new window
3132找出与数组相加的整数 II数组 双指针 枚举 1+🟠🀄️open in new window 🔗open in new window
3134找出唯一性数组的中位数数组 哈希表 二分查找 1+🔴🀄️open in new window 🔗open in new window
3139使数组中所有元素相等的最小开销贪心 数组 枚举🔴🀄️open in new window 🔗open in new window
3141最大汉明距离 🔒位运算 广度优先搜索 数组🔴🀄️open in new window 🔗open in new window
3142判断矩阵是否满足条件数组 矩阵🟢🀄️open in new window 🔗open in new window
3143正方形中的最多点数数组 哈希表 字符串 2+🟠🀄️open in new window 🔗open in new window
3145大数组元素的乘积位运算 数组 二分查找🔴🀄️open in new window 🔗open in new window
3147从魔法师身上吸取的最大能量数组 前缀和🟠🀄️open in new window 🔗open in new window
3148矩阵中的最大得分数组 动态规划 矩阵🟠🀄️open in new window 🔗open in new window
3149找出分数最低的排列位运算 数组 动态规划 1+🔴🀄️open in new window 🔗open in new window
3151特殊数组 I数组🟢🀄️open in new window 🔗open in new window
3152特殊数组 II数组 二分查找 前缀和🟠🀄️open in new window 🔗open in new window
3153所有数对中数位差之和数组 哈希表 数学 1+🟠🀄️open in new window 🔗open in new window
3155可升级服务器的最大数量 🔒数组 数学 二分查找🟠🀄️open in new window 🔗open in new window
3158求出出现两次数字的 XOR 值位运算 数组 哈希表🟢🀄️open in new window 🔗open in new window
3159查询数组中元素的出现位置数组 哈希表🟠🀄️open in new window 🔗open in new window
3160所有球里面不同颜色的数目数组 哈希表 模拟🟠🀄️open in new window 🔗open in new window
3161物块放置查询树状数组 线段树 数组 1+🔴🀄️open in new window 🔗open in new window
3162优质数对的总数 I数组 哈希表🟢🀄️open in new window 🔗open in new window
3164优质数对的总数 II数组 哈希表🟠🀄️open in new window 🔗open in new window
3165不包含相邻元素的子序列的最大和线段树 数组 分治 1+🔴🀄️open in new window 🔗open in new window
3169无需开会的工作日数组 排序🟠🀄️open in new window 🔗open in new window
3171找到按位或最接近 K 的子数组位运算 线段树 数组 1+🔴🀄️open in new window 🔗open in new window
3173相邻元素的按位或 🔒位运算 数组🟢🀄️open in new window 🔗open in new window
3175找到连续赢 K 场比赛的第一位玩家数组 模拟🟠🀄️open in new window 🔗open in new window
3176求出最长好子序列 I数组 哈希表 动态规划🟠🀄️open in new window 🔗open in new window
3177求出最长好子序列 II数组 哈希表 动态规划🔴🀄️open in new window 🔗open in new window
3179K 秒后第 N 个元素的值数组 数学 组合数学 2+🟠🀄️open in new window 🔗open in new window
3180执行操作可获得的最大总奖励 I数组 动态规划🟠🀄️open in new window 🔗open in new window
3181执行操作可获得的最大总奖励 II位运算 数组 动态规划🔴🀄️open in new window 🔗open in new window
3183达到总和的方法数量 🔒数组 动态规划🟠🀄️open in new window 🔗open in new window
3184构成整天的下标对数目 I数组 哈希表 计数🟢🀄️open in new window 🔗open in new window
3185构成整天的下标对数目 II数组 哈希表 计数🟠🀄️open in new window 🔗open in new window
3186施咒的最大总伤害数组 哈希表 双指针 4+🟠🀄️open in new window 🔗open in new window
3187数组中的峰值树状数组 线段树 数组🔴🀄️open in new window 🔗open in new window
3189得到一个和平棋盘的最少步骤 🔒贪心 数组 计数排序 1+🟠🀄️open in new window 🔗open in new window
3190使所有元素都可以被 3 整除的最少操作数数组 数学🟢🀄️open in new window 🔗open in new window
3191使二进制数组全部等于 1 的最少操作次数 I位运算 队列 数组 2+🟠🀄️open in new window 🔗open in new window
3192使二进制数组全部等于 1 的最少操作次数 II贪心 数组 动态规划🟠🀄️open in new window 🔗open in new window
3193统计逆序对的数目数组 动态规划🔴🀄️open in new window 🔗open in new window
3194最小元素和最大元素的最小平均值数组 双指针 排序🟢🀄️open in new window 🔗open in new window
3195包含所有 1 的最小矩形面积 I数组 矩阵🟠🀄️open in new window 🔗open in new window
3196最大化子数组的总成本数组 动态规划🟠🀄️open in new window 🔗open in new window
3197包含所有 1 的最小矩形面积 II数组 枚举 矩阵🔴🀄️open in new window 🔗open in new window
3199用偶数异或设置位计数三元组 I 🔒位运算 数组🟢🀄️open in new window 🔗open in new window
3200三角形的最大高度数组 枚举🟢🀄️open in new window 🔗open in new window
3201找出有效子序列的最大长度 I数组 动态规划🟠🀄️open in new window 🔗open in new window
3202找出有效子序列的最大长度 II数组 动态规划🟠🀄️open in new window 🔗open in new window
3205最大数组跳跃得分 I 🔒 贪心 数组 2+🟠🀄️open in new window 🔗open in new window
3206交替组 I数组 滑动窗口🟢🀄️open in new window 🔗open in new window
3207与敌人战斗后的最大分数贪心 数组🟠🀄️open in new window 🔗open in new window
3208交替组 II数组 滑动窗口🟠🀄️open in new window 🔗open in new window
3209子数组按位与值为 K 的数目位运算 线段树 数组 1+🔴🀄️open in new window 🔗open in new window
3212统计 X 和 Y 频数相等的子矩阵数量数组 矩阵 前缀和🟠🀄️open in new window 🔗open in new window
3213最小代价构造字符串数组 字符串 动态规划 1+🔴🀄️open in new window 🔗open in new window
3215用偶数异或设置位计数三元组 II 🔒位运算 数组🟠🀄️open in new window 🔗open in new window
3217从链表中移除在数组中存在的节点数组 哈希表 链表🟠🀄️open in new window 🔗open in new window
3218切蛋糕的最小总开销 I贪心 数组 动态规划 1+🟠🀄️open in new window 🔗open in new window
3219切蛋糕的最小总开销 II贪心 数组 排序🔴🀄️open in new window 🔗open in new window
3221最大数组跳跃得分 II 🔒 贪心 数组 1+🟠🀄️open in new window 🔗open in new window
3224使差值相等的最少数组改动次数数组 哈希表 前缀和🟠🀄️open in new window 🔗open in new window
3225网格图操作后的最大分数数组 动态规划 矩阵 1+🔴🀄️open in new window 🔗open in new window
3229使数组等于目标数组所需的最少操作次数 贪心 数组 2+🔴🀄️open in new window 🔗open in new window
3231要删除的递增子序列的最小数量 🔒数组 二分查找🔴🀄️open in new window 🔗open in new window
3232判断是否可以赢得数字游戏数组 数学🟢🀄️open in new window 🔗open in new window
3233统计不是特殊数字的数字数量数组 数学 数论🟠🀄️open in new window 🔗open in new window
3235判断矩形的两个角落是否可达深度优先搜索 广度优先搜索 并查集 3+🔴🀄️open in new window 🔗open in new window
3237Alt 和 Tab 模拟 🔒数组 哈希表 模拟🟠🀄️open in new window 🔗open in new window
3238求出胜利玩家的数目数组 哈希表 计数🟢🀄️open in new window 🔗open in new window
3239最少翻转次数使二进制矩阵回文 I数组 双指针 矩阵🟠🀄️open in new window 🔗open in new window
3240最少翻转次数使二进制矩阵回文 II数组 双指针 矩阵🟠🀄️open in new window 🔗open in new window
3242设计相邻元素求和服务设计 数组 哈希表 2+🟢🀄️open in new window 🔗open in new window
3243新增道路查询后的最短距离 I广度优先搜索 数组🟠🀄️open in new window 🔗open in new window
3244新增道路查询后的最短距离 II贪心 数组 1+🔴🀄️open in new window 🔗open in new window
3245交替组 III树状数组 数组🔴🀄️open in new window 🔗open in new window
3247奇数和子序列的数量 🔒数组 数学 动态规划 1+🟠🀄️open in new window 🔗open in new window
3248矩阵中的蛇数组 字符串 模拟🟢🀄️open in new window 🔗open in new window
3250单调数组对的数目 I数组 数学 动态规划 2+🔴🀄️open in new window 🔗open in new window
3251单调数组对的数目 II数组 数学 动态规划 2+🔴🀄️open in new window 🔗open in new window
3254长度为 K 的子数组的能量值 I数组 滑动窗口🟠🀄️open in new window 🔗open in new window
3255长度为 K 的子数组的能量值 II数组 滑动窗口🟠🀄️open in new window 🔗open in new window
3256放三个车的价值之和最大 I数组 动态规划 枚举 1+🔴🀄️open in new window 🔗open in new window
3257放三个车的价值之和最大 II数组 动态规划 枚举 1+🔴🀄️open in new window 🔗open in new window
3259超级饮料的最大强化能量数组 动态规划🟠🀄️open in new window 🔗open in new window
3261统计满足 K 约束的子字符串数量 II数组 字符串 二分查找 2+🔴🀄️open in new window 🔗open in new window
3263将双链表转换为数组 I 🔒数组 链表 双向链表🟢🀄️open in new window 🔗open in new window
3264K 次乘运算后的最终数组 I数组 数学 模拟 1+🟢🀄️open in new window 🔗open in new window
3265统计近似相等数对 I数组 哈希表 计数 2+🟠🀄️open in new window 🔗open in new window
3266K 次乘运算后的最终数组 II数组 模拟 堆(优先队列)🔴🀄️open in new window 🔗open in new window
3267统计近似相等数对 II数组 哈希表 计数 2+🔴🀄️open in new window 🔗open in new window
3269构建两个递增数组 🔒数组 动态规划🔴🀄️open in new window 🔗open in new window
3273对 Bob 造成的最少伤害贪心 数组 排序🔴🀄️open in new window 🔗open in new window
3275第 K 近障碍物查询数组 堆(优先队列)🟠🀄️open in new window 🔗open in new window
3276选择矩阵中单元格的最大得分位运算 数组 动态规划 2+🔴🀄️open in new window 🔗open in new window
3277查询子数组最大异或值数组 动态规划🔴🀄️open in new window 🔗open in new window
3279活塞占据的最大总区域 🔒数组 哈希表 字符串 3+🔴🀄️open in new window 🔗open in new window
3281范围内整数的最大得分贪心 数组 二分查找 1+🟠🀄️open in new window 🔗open in new window
3282到达数组末尾的最大得分贪心 数组🟠🀄️open in new window 🔗open in new window
3283吃掉所有兵需要的最多移动次数位运算 广度优先搜索 数组 3+🔴🀄️open in new window 🔗open in new window
3284连续子数组的和 🔒数组 双指针 动态规划🟠🀄️open in new window 🔗open in new window
3285找到稳定山的下标数组🟢🀄️open in new window 🔗open in new window
3286穿越网格图的安全路径广度优先搜索 数组 3+🟠🀄️open in new window 🔗open in new window
3287求出数组中最大序列值位运算 数组 动态规划🔴🀄️open in new window 🔗open in new window
3288最长上升路径的长度数组 二分查找 排序🔴🀄️open in new window 🔗open in new window
3289数字小镇中的捣蛋鬼数组 哈希表 数学🟢🀄️open in new window 🔗open in new window
3290最高乘法得分数组 动态规划🟠🀄️open in new window 🔗open in new window
3291形成目标字符串需要的最少字符串数 I字典树 线段树 数组 6+🟠🀄️open in new window 🔗open in new window
3292形成目标字符串需要的最少字符串数 II线段树 数组 字符串 5+🔴🀄️open in new window 🔗open in new window
3294将双链表转换为数组 II 🔒数组 链表 双向链表🟠🀄️open in new window 🔗open in new window
3295举报垃圾信息数组 哈希表 字符串🟠🀄️open in new window 🔗open in new window
3296移山所需的最少秒数贪心 数组 数学 2+🟠🀄️open in new window 🔗open in new window
3299连续子序列的和 🔒数组 哈希表 动态规划🔴🀄️open in new window 🔗open in new window
3300替换为数位和以后的最小元素数组 数学🟢🀄️open in new window 🔗open in new window
3301高度互不相同的最大塔高和贪心 数组 排序🟠🀄️open in new window 🔗open in new window
3309连接二进制表示可形成的最大数值[✓]位运算 数组 枚举🟠🀄️open in new window 🔗open in new window
3311构造符合图结构的二维矩阵 数组 哈希表 1+🔴🀄️open in new window 🔗open in new window
3312查询排序后的最大公约数数组 哈希表 数学 5+🔴🀄️open in new window 🔗open in new window
3314构造最小位运算数组 I位运算 数组🟢🀄️open in new window 🔗open in new window
3315构造最小位运算数组 II位运算 数组🟠🀄️open in new window 🔗open in new window
3316从原字符串里进行删除操作的最多次数数组 哈希表 双指针 2+🟠🀄️open in new window 🔗open in new window
3318计算子数组的 x-sum I[✓]数组 哈希表 滑动窗口 1+🟢🀄️open in new window 🔗open in new window
3321计算子数组的 x-sum II[✓]数组 哈希表 滑动窗口 1+🔴🀄️open in new window 🔗open in new window
3323通过插入区间最小化连通组 🔒数组 二分查找 排序 1+🟠🀄️open in new window 🔗open in new window
3326使数组非递减的最少除法操作次数贪心 数组 数学 1+🟠🀄️open in new window 🔗open in new window
3327判断 DFS 字符串是否是回文串 深度优先搜索 数组 3+🔴🀄️open in new window 🔗open in new window
LCP 01猜数字数组🟢🀄️open in new window
LCP 02分式化简数组 数学 数论 1+🟢🀄️open in new window
LCP 03机器人大冒险数组 哈希表 模拟🟠🀄️open in new window
LCP 04覆盖位运算 数组 2+🔴🀄️open in new window
LCP 05发 LeetCoin树状数组 线段树 数组🔴🀄️open in new window
LCP 06拿硬币数组 数学🟢🀄️open in new window
LCP 08剧情触发时间数组 二分查找 排序🟠🀄️open in new window
LCP 09最小跳跃次数广度优先搜索 线段树 数组 1+🔴🀄️open in new window
LCP 11期望个数统计数组 哈希表 数学 1+🟢🀄️open in new window
LCP 12小张刷题计划数组 二分查找🟠🀄️open in new window
LCP 13寻宝位运算 广度优先搜索 数组 3+🔴🀄️open in new window
LCP 14切分数组数组 数学 动态规划 1+🔴🀄️open in new window
LCP 15游乐园的迷宫贪心 几何 数组 1+🔴🀄️open in new window
LCP 18早餐组合数组 双指针 二分查找 1+🟢🀄️open in new window
LCP 20快速公交记忆化搜索 数组 动态规划🔴🀄️open in new window
LCP 23魔术排列队列 数组 模拟🟠🀄️open in new window
LCP 24数字游戏数组 数学 堆(优先队列)🔴🀄️open in new window
LCP 28采购方案数组 双指针 二分查找 1+🟢🀄️open in new window
LCP 30魔塔游戏贪心 数组 堆(优先队列)🟠🀄️open in new window
LCP 31变换的迷宫深度优先搜索 广度优先搜索 数组 2+🔴🀄️open in new window
LCP 32批量处理任务贪心 数组 堆(优先队列)🔴🀄️open in new window
LCP 33蓄水贪心 数组 堆(优先队列)🟢🀄️open in new window
LCP 36最多牌组数数组 动态规划 排序🔴🀄️open in new window
LCP 37最小矩形面积贪心 几何 数组 3+🔴🀄️open in new window
LCP 38守卫城堡数组 动态规划 矩阵🔴🀄️open in new window
LCP 39无人机方阵数组 哈希表 计数 1+🟢🀄️open in new window
LCP 40心算挑战贪心 数组 排序🟢🀄️open in new window
LCP 41黑白翻转棋广度优先搜索 数组 矩阵🟠🀄️open in new window
LCP 42玩具套圈几何 数组 哈希表 3+🔴🀄️open in new window
LCP 43十字路口的交通数组 字符串 动态规划🔴🀄️open in new window
LCP 45自行车炫技赛场深度优先搜索 广度优先搜索 记忆化搜索 3+🟠🀄️open in new window
LCP 46志愿者调配 数组 数学🟠🀄️open in new window
LCP 47入场安检数组 动态规划🔴🀄️open in new window
LCP 48无限棋局数组 数学 枚举 1+🔴🀄️open in new window
LCP 49环形闯关游戏位运算 并查集 数组 1+🔴🀄️open in new window
LCP 50宝石补给数组 模拟🟢🀄️open in new window
LCP 51烹饪料理位运算 数组 回溯 1+🟢🀄️open in new window
LCP 52二叉搜索树染色 线段树 二叉搜索树 4+🟠🀄️open in new window
LCP 53守护太空城位运算 数组 动态规划 1+🔴🀄️open in new window
LCP 54夺回据点 数组 双连通分量🔴🀄️open in new window
LCP 55采集果实数组🟢🀄️open in new window
LCP 56信物传送广度优先搜索 数组 3+🟠🀄️open in new window
LCP 57打地鼠数组 动态规划 矩阵 1+🔴🀄️open in new window
LCP 58积木拼接数组 回溯 矩阵🔴🀄️open in new window
LCP 59搭桥过河数组 动态规划🔴🀄️open in new window
LCP 61气温变化趋势数组🟢🀄️open in new window
LCP 63弹珠游戏深度优先搜索 广度优先搜索 5+🟠🀄️open in new window
LCP 65舒适的湿度数组 动态规划🔴🀄️open in new window
LCP 66最小展台数量数组 哈希表 字符串 1+🟢🀄️open in new window
LCP 68美观的花束数组 滑动窗口🟠🀄️open in new window
LCP 69Hello LeetCode!位运算 数组 字符串 2+🔴🀄️open in new window
LCP 70沙地治理数组 数学🔴🀄️open in new window
LCP 71集水器并查集 数组 矩阵🔴🀄️open in new window
LCS 02完成一半题目贪心 数组 哈希表 1+🟢🀄️open in new window
LCS 03主题空间深度优先搜索 广度优先搜索 并查集 2+🟠🀄️open in new window
剑指 Offer 11旋转数组的最小数字[✓]数组 二分查找🟢🀄️open in new window
剑指 Offer 12矩阵中的路径[✓]数组 字符串 回溯 1+🟠🀄️open in new window
剑指 Offer 17打印从1到最大的n位数[✓]数组 数学🟢🀄️open in new window
剑指 Offer 21调整数组顺序使奇数位于偶数前面[✓]数组 双指针 排序🟢🀄️open in new window
剑指 Offer 29顺时针打印矩阵[✓]数组 矩阵 模拟🟢🀄️open in new window
剑指 Offer 3数组中重复的数字[✓]数组 哈希表 排序🟢🀄️open in new window
剑指 Offer 31栈的压入、弹出序列[✓] 数组 模拟🟠🀄️open in new window
剑指 Offer 33二叉搜索树的后序遍历序列[✓] 二叉搜索树 4+🟠🀄️open in new window
剑指 Offer 39数组中出现次数超过一半的数字[✓]数组 哈希表 分治 2+🟢🀄️open in new window
剑指 Offer 4二维数组中的查找[✓]数组 二分查找 分治 1+🟠🀄️open in new window
剑指 Offer 40最小的k个数[✓]数组 分治 快速选择 2+🟢🀄️open in new window
剑指 Offer 42连续子数组的最大和[✓]数组 分治 动态规划🟢🀄️open in new window
剑指 Offer 47礼物的最大价值[✓]数组 动态规划 矩阵🟠🀄️open in new window
剑指 Offer 51数组中的逆序对[✓]树状数组 线段树 数组 4+🔴🀄️open in new window
剑指 Offer 53在排序数组中查找数字 I[✓]数组 二分查找🟢🀄️open in new window
剑指 Offer 53-II0~n-1中缺失的数字[✓]位运算 数组 哈希表 2+🟢🀄️open in new window
剑指 Offer 56数组中数字出现的次数[✓]位运算 数组🟠🀄️open in new window
剑指 Offer 56-II数组中数字出现的次数 II[✓]位运算 数组🟠🀄️open in new window
剑指 Offer 57和为s的两个数字[✓]数组 双指针 二分查找🟢🀄️open in new window
剑指 Offer 59滑动窗口的最大值[✓]队列 数组 滑动窗口 2+🔴🀄️open in new window
剑指 Offer 61扑克牌中的顺子[✓]数组 排序🟢🀄️open in new window
剑指 Offer 63股票的最大利润[✓]数组 动态规划🟠🀄️open in new window
剑指 Offer 66构建乘积数组[✓]数组 前缀和🟠🀄️open in new window
剑指 Offer 7重建二叉树[✓] 数组 哈希表 2+🟠🀄️open in new window
剑指 Offer II 10和为 k 的子数组[✓]数组 哈希表 前缀和🟠🀄️open in new window
剑指 Offer II 100三角形中最小路径之和[✓]数组 动态规划🟠🀄️open in new window
剑指 Offer II 102加减的目标值[✓]数组 动态规划 回溯🟠🀄️open in new window
剑指 Offer II 103最少的硬币数目[✓]广度优先搜索 数组 动态规划🟠🀄️open in new window
剑指 Offer II 104排列的数目数组 动态规划🟠🀄️open in new window
剑指 Offer II 105岛屿的最大面积[✓]深度优先搜索 广度优先搜索 并查集 2+🟠🀄️open in new window
剑指 Offer II 107矩阵中的距离广度优先搜索 数组 动态规划 1+🟠🀄️open in new window
剑指 Offer II 109开密码锁广度优先搜索 数组 哈希表 1+🟠🀄️open in new window
剑指 Offer II 110 和 1 个数相同的子数组数组 哈希表 前缀和🟠🀄️open in new window
剑指 Offer II 111计算除法[✓]深度优先搜索 广度优先搜索 并查集 3+🟠🀄️open in new window
剑指 Offer II 112最长递增路径深度优先搜索 广度优先搜索 5+🔴🀄️open in new window
剑指 Offer II 114外星文字典深度优先搜索 广度优先搜索 3+🔴🀄️open in new window
剑指 Offer II 115重建序列 拓扑排序 数组🟠🀄️open in new window
剑指 Offer II 117相似的字符串深度优先搜索 广度优先搜索 并查集 3+🔴🀄️open in new window
剑指 Offer II 119最长连续序列[✓]并查集 数组 哈希表🟠🀄️open in new window
剑指 Offer II 12左右两边子数组的和相等[✓]数组 前缀和🟢🀄️open in new window
剑指 Offer II 13二维子矩阵的和设计 数组 矩阵 1+🟠🀄️open in new window
剑指 Offer II 30插入、删除和随机访问都是 O(1) 的容器[✓]设计 数组 哈希表 2+🟠🀄️open in new window
剑指 Offer II 33变位词组[✓]数组 哈希表 字符串 1+🟠🀄️open in new window
剑指 Offer II 34外星语言是否排序数组 哈希表 字符串🟢🀄️open in new window
剑指 Offer II 35最小时间差数组 数学 字符串 1+🟠🀄️open in new window
剑指 Offer II 36后缀表达式[✓] 数组 数学🟠🀄️open in new window
剑指 Offer II 37小行星碰撞 数组 模拟🟠🀄️open in new window
剑指 Offer II 38每日温度[✓] 数组 单调栈🟠🀄️open in new window
剑指 Offer II 39直方图最大矩形面积[✓] 数组 单调栈🔴🀄️open in new window
剑指 Offer II 4只出现一次的数字[✓]位运算 数组🟠🀄️open in new window
剑指 Offer II 40矩阵中最大的矩形[✓] 数组 动态规划 2+🔴🀄️open in new window
剑指 Offer II 41滑动窗口的平均值[✓]设计 队列 数组 1+🟢🀄️open in new window
剑指 Offer II 5单词长度的最大乘积位运算 数组 字符串🟠🀄️open in new window
剑指 Offer II 56二叉搜索树中两个节点之和数组 滑动窗口🟢🀄️open in new window
剑指 Offer II 57值和下标之差都在给定的范围内数组 桶排序 有序集合 2+🟠🀄️open in new window
剑指 Offer II 6排序数组中两个数字之和[✓]数组 双指针 二分查找🟢🀄️open in new window
剑指 Offer II 60出现频率最高的 k 个数字[✓]数组 哈希表 分治 5+🟠🀄️open in new window
剑指 Offer II 61和最小的 k 个数对[✓]数组 堆(优先队列)🟠🀄️open in new window
剑指 Offer II 63替换单词字典树 数组 哈希表 1+🟠🀄️open in new window
剑指 Offer II 65最短的单词编码字典树 数组 哈希表 1+🟠🀄️open in new window
剑指 Offer II 67最大的异或位运算 字典树 数组 1+🟠🀄️open in new window
剑指 Offer II 68查找插入位置[✓]数组 二分查找🟢🀄️open in new window
剑指 Offer II 69山峰数组的顶部数组 二分查找🟢🀄️open in new window
剑指 Offer II 7数组中和为 0 的三个数[✓]数组 双指针 排序🟠🀄️open in new window
剑指 Offer II 70排序数组中只出现一次的数字数组 二分查找🟠🀄️open in new window
剑指 Offer II 71按权重生成随机数数组 数学 二分查找 2+🟠🀄️open in new window
剑指 Offer II 73狒狒吃香蕉数组 二分查找🟠🀄️open in new window
剑指 Offer II 74合并区间[✓]数组 排序🟠🀄️open in new window
剑指 Offer II 75数组相对排序数组 哈希表 计数排序 1+🟢🀄️open in new window
剑指 Offer II 76数组中的第 k 大的数字[✓]数组 分治 快速选择 2+🟠🀄️open in new window
剑指 Offer II 79所有子集[✓]位运算 数组 回溯🟠🀄️open in new window
剑指 Offer II 8和大于等于 target 的最短子数组[✓]数组 二分查找 前缀和 1+🟠🀄️open in new window
剑指 Offer II 80含有 k 个元素的组合[✓]数组 回溯🟠🀄️open in new window
剑指 Offer II 81允许重复选择元素的组合[✓]数组 回溯🟠🀄️open in new window
剑指 Offer II 82含有重复元素集合的组合[✓]数组 回溯🟠🀄️open in new window
剑指 Offer II 83没有重复元素集合的全排列[✓]数组 回溯🟠🀄️open in new window
剑指 Offer II 84含有重复元素集合的全排列[✓]数组 回溯🟠🀄️open in new window
剑指 Offer II 88爬楼梯的最少成本数组 动态规划🟢🀄️open in new window
剑指 Offer II 89房屋偷盗[✓]数组 动态规划🟠🀄️open in new window
剑指 Offer II 9乘积小于 K 的子数组数组 滑动窗口🟠🀄️open in new window
剑指 Offer II 90环形房屋偷盗数组 动态规划🟠🀄️open in new window
剑指 Offer II 91粉刷房子数组 动态规划🟠🀄️open in new window
剑指 Offer II 93最长斐波那契数列数组 哈希表 动态规划🟠🀄️open in new window
剑指 Offer II 99最小路径之和[✓]数组 动态规划 矩阵🟠🀄️open in new window
面试题 01.07旋转矩阵数组 数学 矩阵🟠🀄️open in new window
面试题 01.08零矩阵数组 哈希表 矩阵🟠🀄️open in new window
面试题 03.01三合一 设计 数组🟢🀄️open in new window
面试题 04.02最小高度树 二叉搜索树 数组 2+🟢🀄️open in new window
面试题 05.08绘制直线位运算 数组 数学🟠🀄️open in new window
面试题 08.02迷路的机器人数组 动态规划 回溯 1+🟠🀄️open in new window
面试题 08.03魔术索引数组 二分查找🟢🀄️open in new window
面试题 08.04幂集位运算 数组 回溯🟠🀄️open in new window
面试题 08.06汉诺塔问题递归 数组🟢🀄️open in new window
面试题 08.10颜色填充深度优先搜索 广度优先搜索 数组 1+🟢🀄️open in new window
面试题 08.11硬币数组 数学 动态规划🟠🀄️open in new window
面试题 08.12八皇后数组 回溯🔴🀄️open in new window
面试题 08.13堆箱子数组 动态规划 排序🔴🀄️open in new window
面试题 10.01合并排序的数组数组 双指针 排序🟢🀄️open in new window
面试题 10.02变位词组数组 哈希表 字符串 1+🟠🀄️open in new window
面试题 10.03搜索旋转数组数组 二分查找🟠🀄️open in new window
面试题 10.05稀疏数组搜索数组 字符串 二分查找🟢🀄️open in new window
面试题 10.09排序矩阵查找数组 二分查找 分治 1+🟠🀄️open in new window
面试题 10.11峰与谷贪心 数组 排序🟠🀄️open in new window
面试题 16.02单词频率设计 字典树 数组 2+🟠🀄️open in new window
面试题 16.04井字游戏数组 计数 矩阵🟠🀄️open in new window
面试题 16.06最小差数组 双指针 二分查找 1+🟠🀄️open in new window
面试题 16.10生存人数数组 计数🟠🀄️open in new window
面试题 16.11跳水板数组 数学🟢🀄️open in new window
面试题 16.14最佳直线几何 数组 哈希表 1+🟠🀄️open in new window
面试题 16.16部分排序 贪心 数组 3+🟠🀄️open in new window
面试题 16.17连续数列数组 分治 动态规划🟢🀄️open in new window
面试题 16.19水域大小深度优先搜索 广度优先搜索 并查集 2+🟠🀄️open in new window
面试题 16.20T9键盘数组 哈希表 字符串🟠🀄️open in new window
面试题 16.21交换和数组 哈希表 二分查找 1+🟠🀄️open in new window
面试题 16.22兰顿蚂蚁数组 哈希表 字符串 2+🟠🀄️open in new window
面试题 16.24数对和数组 哈希表 双指针 2+🟠🀄️open in new window
面试题 17.04消失的数字位运算 数组 哈希表 2+🟢🀄️open in new window
面试题 17.05字母与数字数组 哈希表 前缀和🟠🀄️open in new window
面试题 17.07婴儿名字深度优先搜索 广度优先搜索 并查集 4+🟠🀄️open in new window
面试题 17.08马戏团人塔数组 二分查找 动态规划 1+🟠🀄️open in new window
面试题 17.10主要元素数组 计数🟢🀄️open in new window
面试题 17.11单词距离数组 字符串🟠🀄️open in new window
面试题 17.13恢复空格字典树 数组 哈希表 4+🟠🀄️open in new window
面试题 17.14最小K个数数组 分治 快速选择 2+🟠🀄️open in new window
面试题 17.15最长单词字典树 数组 哈希表 1+🟠🀄️open in new window
面试题 17.16按摩师数组 动态规划🟢🀄️open in new window
面试题 17.17多次搜索字典树 数组 哈希表 3+🟠🀄️open in new window
面试题 17.18最短超串数组 哈希表 滑动窗口🟠🀄️open in new window
面试题 17.19消失的两个数字位运算 数组 哈希表🔴🀄️open in new window
面试题 17.21直方图的水量 数组 双指针 2+🔴🀄️open in new window
面试题 17.23最大黑方阵数组 动态规划 矩阵🟠🀄️open in new window
面试题 17.24最大子矩阵数组 动态规划 矩阵 1+🔴🀄️open in new window
面试题 17.25单词矩阵字典树 数组 字符串 1+🔴🀄️open in new window
面试题 17.26稀疏相似度数组 哈希表 排序🔴🀄️open in new window