|
74 | 74 | * [749.隔离病毒](https://github.com/Zhenghao-Liu/LeetCode_problem-and-solution/tree/master/0749.隔离病毒)
|
75 | 75 | * [752.打开转盘锁](https://github.com/Zhenghao-Liu/LeetCode_problem-and-solution/tree/master/0752.打开转盘锁)
|
76 | 76 | * [753.破解保险箱](https://github.com/Zhenghao-Liu/LeetCode_problem-and-solution/tree/master/0753.破解保险箱)
|
| 77 | +* [773.滑动谜题](https://github.com/Zhenghao-Liu/LeetCode_problem-and-solution/tree/master/0773.滑动谜题) |
77 | 78 | * [785.判断二分图](https://github.com/Zhenghao-Liu/LeetCode_problem-and-solution/tree/master/0785.判断二分图)
|
78 | 79 | * [834.树中距离之和](https://github.com/Zhenghao-Liu/LeetCode_problem-and-solution/tree/master/0834.树中距离之和)
|
79 | 80 | * [1192.查找集群内的「关键连接」(tarjan)](https://github.com/Zhenghao-Liu/LeetCode_problem-and-solution/tree/master/1192.%20%E6%9F%A5%E6%89%BE%E9%9B%86%E7%BE%A4%E5%86%85%E7%9A%84%E3%80%8C%E5%85%B3%E9%94%AE%E8%BF%9E%E6%8E%A5%E3%80%8D)
|
|
188 | 189 | * [925.长按键入](https://github.com/Zhenghao-Liu/LeetCode_problem-and-solution/tree/master/0925.长按键入)
|
189 | 190 | * [983.最低票价](https://github.com/Zhenghao-Liu/LeetCode_problem-and-solution/tree/master/0983.最低票价)
|
190 | 191 | * [1024.视频拼接](https://github.com/Zhenghao-Liu/LeetCode_problem-and-solution/tree/master/1024.视频拼接)
|
| 192 | +* [1356.根据数字二进制下1的数目排序](https://github.com/Zhenghao-Liu/LeetCode_problem-and-solution/tree/master/1356.根据数字二进制下1的数目排序) |
191 | 193 | * [1411.给Nx3网格图涂色的方案](https://github.com/Zhenghao-Liu/LeetCode_problem-and-solution/tree/master/1411.给Nx3网格图涂色的方案)
|
192 | 194 | * [1416.恢复数组](https://github.com/Zhenghao-Liu/LeetCode_problem-and-solution/tree/master/1416.恢复数组)
|
193 | 195 | * [1425.带限制的子序和](https://github.com/Zhenghao-Liu/LeetCode_problem-and-solution/tree/master/1425.带限制的子序和)
|
|
210 | 212 | * [1601.最多可达成的换楼请求数目](https://github.com/Zhenghao-Liu/LeetCode_problem-and-solution/tree/master/1601.最多可达成的换楼请求数目)
|
211 | 213 | * [1621.大小为K的不重叠线段的数目](https://github.com/Zhenghao-Liu/LeetCode_problem-and-solution/tree/master/1621.大小为K的不重叠线段的数目)
|
212 | 214 | * [1626.无矛盾的最佳球队](https://github.com/Zhenghao-Liu/LeetCode_problem-and-solution/tree/master/1626.无矛盾的最佳球队)
|
| 215 | +* [1638.统计只差一个字符的子串数目](https://github.com/Zhenghao-Liu/LeetCode_problem-and-solution/tree/master/1638.统计只差一个字符的子串数目) |
| 216 | +* [1639.通过给定词典构造目标字符的方案数](https://github.com/Zhenghao-Liu/LeetCode_problem-and-solution/tree/master/1639.通过给定词典构造目标字符的方案数) |
| 217 | +* [1641.统计字典序元音字符串的数目](https://github.com/Zhenghao-Liu/LeetCode_problem-and-solution/tree/master/1641.统计字典序元音字符串的数目) |
| 218 | +* [1643.第K条最小指令](https://github.com/Zhenghao-Liu/LeetCode_problem-and-solution/tree/master/1643.第K条最小指令) |
213 | 219 | * [LCP 09.最小跳跃次数](https://github.com/Zhenghao-Liu/LeetCode_problem-and-solution/tree/master/LCP%2009.最小跳跃次数)
|
214 | 220 | * [LCP 19.秋叶收藏集](https://github.com/Zhenghao-Liu/LeetCode_problem-and-solution/tree/master/LCP%2019.秋叶收藏集)
|
215 | 221 | * [LCP 25.古董键盘](https://github.com/Zhenghao-Liu/LeetCode_problem-and-solution/tree/master/LCP%2025.古董键盘)
|
|
276 | 282 | * [844.比较含退格的字符串](https://github.com/Zhenghao-Liu/LeetCode_problem-and-solution/tree/master/0844.比较含退格的字符串)
|
277 | 283 | * [845.数组中的最长山脉](https://github.com/Zhenghao-Liu/LeetCode_problem-and-solution/tree/master/0845.数组中的最长山脉)
|
278 | 284 | * [925.长按键入](https://github.com/Zhenghao-Liu/LeetCode_problem-and-solution/tree/master/0925.长按键入)
|
| 285 | +* [941.有效的山脉数组](https://github.com/Zhenghao-Liu/LeetCode_problem-and-solution/tree/master/0941.有效的山脉数组) |
279 | 286 | * [977.有序数组的平方](https://github.com/Zhenghao-Liu/LeetCode_problem-and-solution/tree/master/0977.有序数组的平方)
|
280 | 287 | * [1248.统计「优美子数组」](https://github.com/Zhenghao-Liu/LeetCode_problem-and-solution/tree/master/1248.统计「优美子数组」)
|
281 | 288 | * [1446.连续字符](https://github.com/Zhenghao-Liu/LeetCode_problem-and-solution/tree/master/1446.连续字符)
|
|
371 | 378 | * [1611.使整数变为0的最少操作数](https://github.com/Zhenghao-Liu/LeetCode_problem-and-solution/tree/master/1611.使整数变为0的最少操作数)
|
372 | 379 | * [1622.奇妙序列](https://github.com/Zhenghao-Liu/LeetCode_problem-and-solution/tree/master/1622.奇妙序列)
|
373 | 380 | * [1627.带阈值的图连通性](https://github.com/Zhenghao-Liu/LeetCode_problem-and-solution/tree/master/1627.带阈值的图连通性)
|
| 381 | +* [1648.销售价值减小的颜色球](https://github.com/Zhenghao-Liu/LeetCode_problem-and-solution/tree/master/1648.销售价值减小的颜色球) |
374 | 382 | * [LCP 02.分式化简](https://github.com/Zhenghao-Liu/LeetCode_problem-and-solution/tree/master/LCP%2002.分式化简)
|
375 | 383 | * [LCP 11.期望个数统计](https://github.com/Zhenghao-Liu/LeetCode_problem-and-solution/tree/master/LCP%2011.期望个数统计)
|
376 | 384 | * [LCP 22.黑白方格画](https://github.com/Zhenghao-Liu/LeetCode_problem-and-solution/tree/master/LCP%2022.黑白方格画)
|
|
416 | 424 | * [1606.找到处理最多请求的服务器](https://github.com/Zhenghao-Liu/LeetCode_problem-and-solution/tree/master/1606.找到处理最多请求的服务器)
|
417 | 425 | * [1608.特殊数组的特征值](https://github.com/Zhenghao-Liu/LeetCode_problem-and-solution/tree/master/1608.特殊数组的特征值)
|
418 | 426 | * [1631.最小体力消耗路径](https://github.com/Zhenghao-Liu/LeetCode_problem-and-solution/tree/master/1631.最小体力消耗路径)
|
| 427 | +* [1648.销售价值减小的颜色球](https://github.com/Zhenghao-Liu/LeetCode_problem-and-solution/tree/master/1648.销售价值减小的颜色球) |
419 | 428 | * [LCP 12.小张刷题计划](https://github.com/Zhenghao-Liu/LeetCode_problem-and-solution/tree/master/LCP%2012.小张刷题计划)
|
420 | 429 | * [LCP 18.早餐组合](https://github.com/Zhenghao-Liu/LeetCode_problem-and-solution/tree/master/LCP%2018.早餐组合)
|
421 | 430 | * [面试题08.03.魔术索引](https://github.com/Zhenghao-Liu/LeetCode_problem-and-solution/tree/master/面试题08.03.魔术索引)
|
|
546 | 555 | * [面试题13.机器人的运动范围](https://github.com/Zhenghao-Liu/LeetCode_problem-and-solution/tree/master/面试题13.机器人的运动范围)
|
547 | 556 | * [面试题29.顺时针打印矩阵](https://github.com/Zhenghao-Liu/LeetCode_problem-and-solution/tree/master/面试题29.顺时针打印矩阵)
|
548 | 557 |
|
549 |
| -#### (九) 排序 |
| 558 | +#### (九) 排序sort |
550 | 559 | * [75.颜色分类(快速排序/三色排序)](https://github.com/Zhenghao-Liu/LeetCode_problem-and-solution/tree/master/0075.颜色分类)
|
551 | 560 | * [147.对链表进行插入排序(插入排序)](https://github.com/Zhenghao-Liu/LeetCode_problem-and-solution/tree/master/0147.对链表进行插入排序)
|
552 | 561 | * [148.排序链表(堆排序/归并排序)](https://github.com/Zhenghao-Liu/LeetCode_problem-and-solution/tree/master/0148.排序链表)
|
|
558 | 567 | * [480.滑动窗口中位数(插入排序)](https://github.com/Zhenghao-Liu/LeetCode_problem-and-solution/tree/master/0480.滑动窗口中位数)
|
559 | 568 | * [493.翻转对(归并排序)](https://github.com/Zhenghao-Liu/LeetCode_problem-and-solution/tree/master/0493.翻转对)
|
560 | 569 | * [748.最短补全词(稳定排序)](https://github.com/Zhenghao-Liu/LeetCode_problem-and-solution/tree/master/0748.最短补全词)
|
| 570 | +* [973.最接近原点的K个点(nth_element)](https://github.com/Zhenghao-Liu/LeetCode_problem-and-solution/tree/master/0973.最接近原点的K个点) |
561 | 571 | * [1207.独一无二的出现次数](https://github.com/Zhenghao-Liu/LeetCode_problem-and-solution/tree/master/1207.独一无二的出现次数)
|
562 |
| -* [1365.有多少小于当前数字的数字(计数排序)](https://github.com/Zhenghao-Liu/LeetCode_problem-and-solution/tree/master/1365.有多少小于当前数字的数字) |
| 572 | +* [1356.根据数字二进制下1的数目排序](https://github.com/Zhenghao-Liu/LeetCode_problem-and-solution/tree/master/1356.根据数字二进制下1的数目排序) |
| 573 | +* [1365.有多少小于当前数字的数字(计数排序)](https://github.com/Zhenghao-Liu/LeetCode_problem-and-solution/tree/master/1365.有多少小于当前数字的数字) |
| 574 | +* [1636.按照频率将数组升序排序](https://github.com/Zhenghao-Liu/LeetCode_problem-and-solution/tree/master/1636.按照频率将数组升序排序) |
| 575 | +* [1637.两点之间不包含任何点的最宽垂直面积](https://github.com/Zhenghao-Liu/LeetCode_problem-and-solution/tree/master/1637.两点之间不包含任何点的最宽垂直面积) |
| 576 | +* [1647.字符频次唯一的最小删除次数](https://github.com/Zhenghao-Liu/LeetCode_problem-and-solution/tree/master/1647.字符频次唯一的最小删除次数) |
563 | 577 | * [面试题51.数组中的逆序对(归并排序)](https://github.com/Zhenghao-Liu/LeetCode_problem-and-solution/tree/master/面试题51.数组中的逆序对)
|
564 | 578 |
|
565 | 579 | #### (十) 滑动窗口
|
|
706 | 720 | * [623.在二叉树中增加一行](https://github.com/Zhenghao-Liu/LeetCode_problem-and-solution/tree/master/0623.在二叉树中增加一行)
|
707 | 721 | * [637.二叉树的层平均值](https://github.com/Zhenghao-Liu/LeetCode_problem-and-solution/tree/master/0637.二叉树的层平均值)
|
708 | 722 | * [641.设计循环双端队列](https://github.com/Zhenghao-Liu/LeetCode_problem-and-solution/tree/master/0641.设计循环双端队列)
|
| 723 | +* [862.和至少为K的最短子数组](https://github.com/Zhenghao-Liu/LeetCode_problem-and-solution/tree/master/0862.和至少为K的最短子数组) |
709 | 724 | * [1417.重新格式化字符串](https://github.com/Zhenghao-Liu/LeetCode_problem-and-solution/tree/master/1417.重新格式化字符串)
|
710 | 725 | * [1472.设计浏览器历史记录](https://github.com/Zhenghao-Liu/LeetCode_problem-and-solution/tree/master/1472.设计浏览器历史记录)
|
711 | 726 | * [1499.满足不等式的最大值](https://github.com/Zhenghao-Liu/LeetCode_problem-and-solution/tree/master/1499.满足不等式的最大值)
|
|
826 | 841 | * [1546.和为目标值的最大数目不重叠非空子数组数目](https://github.com/Zhenghao-Liu/LeetCode_problem-and-solution/tree/master/1546.和为目标值的最大数目不重叠非空子数组数目)
|
827 | 842 | * [1583.统计不开心的朋友](https://github.com/Zhenghao-Liu/LeetCode_problem-and-solution/tree/master/1583.统计不开心的朋友)
|
828 | 843 | * [1590.使数组和能被P整除](https://github.com/Zhenghao-Liu/LeetCode_problem-and-solution/tree/master/1590.使数组和能被P整除)
|
| 844 | +* [1640.能否连接形成数组](https://github.com/Zhenghao-Liu/LeetCode_problem-and-solution/tree/master/1640.能否连接形成数组) |
829 | 845 | * [面试题17.13.恢复空格](https://github.com/Zhenghao-Liu/LeetCode_problem-and-solution/tree/master/面试题17.13.恢复空格)
|
830 | 846 |
|
831 | 847 | #### (十七) 集合
|
|
891 | 907 | * [693.交替位二进制数](https://github.com/Zhenghao-Liu/LeetCode_problem-and-solution/tree/master/0693.交替位二进制数)
|
892 | 908 | * [698.划分为k个相等的子集](https://github.com/Zhenghao-Liu/LeetCode_problem-and-solution/tree/master/0698.划分为k个相等的子集)
|
893 | 909 | * [762.二进制表示中的质数个计算置位](https://github.com/Zhenghao-Liu/LeetCode_problem-and-solution/tree/master/0762.二进制表示中的质数个计算置位)
|
| 910 | +* [1356.根据数字二进制下1的数目排序](https://github.com/Zhenghao-Liu/LeetCode_problem-and-solution/tree/master/1356.根据数字二进制下1的数目排序) |
894 | 911 | * [1371.每个元音包含偶数次的最长字符串](https://github.com/Zhenghao-Liu/LeetCode_problem-and-solution/tree/master/1371.每个元音包含偶数次的最长字符串)
|
895 | 912 | * [1442.形成两个异或相等数组的三元组数目](https://github.com/Zhenghao-Liu/LeetCode_problem-and-solution/tree/master/1442.形成两个异或相等数组的三元组数目)
|
896 | 913 | * [1521.找到最接近目标值的函数值](https://github.com/Zhenghao-Liu/LeetCode_problem-and-solution/tree/master/1521.找到最接近目标值的函数值)
|
|
962 | 979 | * [767.重构字符串](https://github.com/Zhenghao-Liu/LeetCode_problem-and-solution/tree/master/0767.重构字符串)
|
963 | 980 | * [768.最多能完成排序的块II](https://github.com/Zhenghao-Liu/LeetCode_problem-and-solution/tree/master/0768.最多能完成排序的块II)
|
964 | 981 | * [769.最多能完成排序的块](https://github.com/Zhenghao-Liu/LeetCode_problem-and-solution/tree/master/0769.最多能完成排序的块)
|
| 982 | +* [775.全局倒置与局部倒置](https://github.com/Zhenghao-Liu/LeetCode_problem-and-solution/tree/master/0775.全局倒置与局部倒置) |
965 | 983 | * [1014.最佳观光组合](https://github.com/Zhenghao-Liu/LeetCode_problem-and-solution/tree/master/1014.最佳观光组合)
|
966 | 984 | * [1024.视频拼接](https://github.com/Zhenghao-Liu/LeetCode_problem-and-solution/tree/master/1024.视频拼接)
|
967 | 985 | * [1414.和为K的最少斐波那契数字数目](https://github.com/Zhenghao-Liu/LeetCode_problem-and-solution/tree/master/1414.和为K的最少斐波那契数字数目)
|
|
985 | 1003 | * [1589.所有排列中的最大和](https://github.com/Zhenghao-Liu/LeetCode_problem-and-solution/tree/master/1589.所有排列中的最大和)
|
986 | 1004 | * [1591.奇怪的打印机II](https://github.com/Zhenghao-Liu/LeetCode_problem-and-solution/tree/master/1591.奇怪的打印机II)
|
987 | 1005 | * [1605.给定行和列的和求可行矩阵](https://github.com/Zhenghao-Liu/LeetCode_problem-and-solution/tree/master/1605.给定行和列的和求可行矩阵)
|
988 |
| -* [1632.矩阵转换后的秩](https://github.com/Zhenghao-Liu/LeetCode_problem-and-solution/tree/master/1632.矩阵转换后的秩) |
| 1006 | +* [1632.矩阵转换后的秩](https://github.com/Zhenghao-Liu/LeetCode_problem-and-solution/tree/master/1632.矩阵转换后的秩) |
| 1007 | +* [1643.第K条最小指令](https://github.com/Zhenghao-Liu/LeetCode_problem-and-solution/tree/master/1643.第K条最小指令) |
| 1008 | +* [1647.字符频次唯一的最小删除次数](https://github.com/Zhenghao-Liu/LeetCode_problem-and-solution/tree/master/1647.字符频次唯一的最小删除次数) |
| 1009 | +* [1648.销售价值减小的颜色球](https://github.com/Zhenghao-Liu/LeetCode_problem-and-solution/tree/master/1648.销售价值减小的颜色球) |
989 | 1010 |
|
990 | 1011 | #### (二十二) 并查集
|
991 | 1012 | * [399.除法求值](https://github.com/Zhenghao-Liu/LeetCode_problem-and-solution/tree/master/0399(重要).除法求值)
|
|
1024 | 1045 | * [307.区域和检索 - 数组可修改](https://github.com/Zhenghao-Liu/LeetCode_problem-and-solution/tree/master/0307.区域和检索%20-%20数组可修改)
|
1025 | 1046 | * [699.掉落的方块](https://github.com/Zhenghao-Liu/LeetCode_problem-and-solution/tree/master/0699.掉落的方块)
|
1026 | 1047 | * [1521.找到最接近目标值的函数值](https://github.com/Zhenghao-Liu/LeetCode_problem-and-solution/tree/master/1521.找到最接近目标值的函数值)
|
| 1048 | +* [1649.通过指令创建有序数组](https://github.com/Zhenghao-Liu/LeetCode_problem-and-solution/tree/master/1649.通过指令创建有序数组) |
1027 | 1049 |
|
1028 | 1050 | #### (二十六)树状数组BIT
|
1029 | 1051 | * [307.区域和检索 - 数组可修改](https://github.com/Zhenghao-Liu/LeetCode_problem-and-solution/tree/master/0307.区域和检索%20-%20数组可修改)
|
1030 | 1052 | * [315.计算右侧小于当前元素的个数](https://github.com/Zhenghao-Liu/LeetCode_problem-and-solution/tree/master/0315.计算右侧小于当前元素的个数)
|
| 1053 | +* [1649.通过指令创建有序数组](https://github.com/Zhenghao-Liu/LeetCode_problem-and-solution/tree/master/1649.通过指令创建有序数组) |
1031 | 1054 |
|
1032 | 1055 | #### (二十七)前缀和prefix sum
|
1033 | 1056 | * [303.区域和检索 - 数组不可变](https://github.com/Zhenghao-Liu/LeetCode_problem-and-solution/tree/master/0303.区域和检索%20-%20数组不可变)
|
|
1070 | 1093 | * [703.数据流中的第K大元素](https://github.com/Zhenghao-Liu/LeetCode_problem-and-solution/tree/master/0703.数据流中的第K大元素)
|
1071 | 1094 | * [743.网络延迟时间](https://github.com/Zhenghao-Liu/LeetCode_problem-and-solution/tree/master/0743.网络延迟时间)
|
1072 | 1095 | * [767.重构字符串](https://github.com/Zhenghao-Liu/LeetCode_problem-and-solution/tree/master/0767.重构字符串)
|
| 1096 | +* [973.最接近原点的K个点](https://github.com/Zhenghao-Liu/LeetCode_problem-and-solution/tree/master/0973.最接近原点的K个点) |
1073 | 1097 | * [1425.带限制的子序和](https://github.com/Zhenghao-Liu/LeetCode_problem-and-solution/tree/master/1425.带限制的子序和)
|
1074 | 1098 | * [1438.绝对差不超过限制的最长连续子数组](https://github.com/Zhenghao-Liu/LeetCode_problem-and-solution/tree/master/1438.绝对差不超过限制的最长连续子数组)
|
1075 | 1099 | * [1584.连接所有点的最小费用](https://github.com/Zhenghao-Liu/LeetCode_problem-and-solution/tree/master/1584.连接所有点的最小费用)
|
1076 | 1100 | * [1606.找到处理最多请求的服务器](https://github.com/Zhenghao-Liu/LeetCode_problem-and-solution/tree/master/1606.找到处理最多请求的服务器)
|
1077 | 1101 | * [1632.矩阵转换后的秩](https://github.com/Zhenghao-Liu/LeetCode_problem-and-solution/tree/master/1632.矩阵转换后的秩)
|
| 1102 | +* [1642.可以到达的最远建筑](https://github.com/Zhenghao-Liu/LeetCode_problem-and-solution/tree/master/1642.可以到达的最远建筑) |
1078 | 1103 | * [LCP 24.数字游戏](https://github.com/Zhenghao-Liu/LeetCode_problem-and-solution/tree/master/LCP%2024.数字游戏)
|
1079 | 1104 |
|
1080 | 1105 | #### (二十九)差分数组
|
|
0 commit comments