Skip to content

Commit 59433cb

Browse files
committed
add 75 962
1 parent 598e147 commit 59433cb

File tree

15 files changed

+269
-14
lines changed

15 files changed

+269
-14
lines changed

src/.vuepress/sidebar.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -128,6 +128,7 @@ export default sidebar({
128128
"0072",
129129
"0073",
130130
"0074",
131+
"0075",
131132
"0076",
132133
"0077",
133134
"0078",
@@ -407,6 +408,7 @@ export default sidebar({
407408
"0946",
408409
"0954",
409410
"0958",
411+
"0962",
410412
"0973",
411413
"0986"
412414
],

src/leetcode/algorithm/sort.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -355,7 +355,7 @@ function swap(arr, i, j) {
355355

356356
| 题号 | 标题 | 题解 | 标签 | 难度 |
357357
| :------: | :------ | :------: | :------ | :------ |
358-
| 75 | [颜色分类](https://leetcode.com/problems/sort-colors) | | [`数组`](/leetcode/outline/tag/array.md) [`双指针`](/leetcode/outline/tag/two-pointers.md) [`排序`](/leetcode/outline/tag/sorting.md) | <font color=#ffb800>Medium</font> |
358+
| 75 | [颜色分类](https://leetcode.com/problems/sort-colors) | [[]](https://2xiao.github.io/leetcode-js/leetcode/problem/0075) | [`数组`](/leetcode/outline/tag/array.md) [`双指针`](/leetcode/outline/tag/two-pointers.md) [`排序`](/leetcode/outline/tag/sorting.md) | <font color=#ffb800>Medium</font> |
359359

360360
* 希尔排序
361361

src/leetcode/algorithm/two_pointer.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@
4141
| 259 | [较小的三数之和](https://leetcode.com/problems/3sum-smaller) | [[]](https://2xiao.github.io/leetcode-js/leetcode/problem/0259) | [`数组`](/leetcode/outline/tag/array.md) [`双指针`](/leetcode/outline/tag/two-pointers.md) [`二分查找`](/leetcode/outline/tag/binary-search.md) `1+` | <font color=#ffb800>Medium</font> |
4242
| 658 | [找到 K 个最接近的元素](https://leetcode.com/problems/find-k-closest-elements) | | [`数组`](/leetcode/outline/tag/array.md) [`双指针`](/leetcode/outline/tag/two-pointers.md) [`二分查找`](/leetcode/outline/tag/binary-search.md) `3+` | <font color=#ffb800>Medium</font> |
4343
| 1099 | [小于 K 的两数之和](https://leetcode.com/problems/two-sum-less-than-k) | | [`数组`](/leetcode/outline/tag/array.md) [`双指针`](/leetcode/outline/tag/two-pointers.md) [`二分查找`](/leetcode/outline/tag/binary-search.md) `1+` | <font color=#15bd66>Easy</font> |
44-
| 75 | [颜色分类](https://leetcode.com/problems/sort-colors) | | [`数组`](/leetcode/outline/tag/array.md) [`双指针`](/leetcode/outline/tag/two-pointers.md) [`排序`](/leetcode/outline/tag/sorting.md) | <font color=#ffb800>Medium</font> |
44+
| 75 | [颜色分类](https://leetcode.com/problems/sort-colors) | [[]](https://2xiao.github.io/leetcode-js/leetcode/problem/0075) | [`数组`](/leetcode/outline/tag/array.md) [`双指针`](/leetcode/outline/tag/two-pointers.md) [`排序`](/leetcode/outline/tag/sorting.md) | <font color=#ffb800>Medium</font> |
4545
| 360 | [有序转化数组](https://leetcode.com/problems/sort-transformed-array) | | [`数组`](/leetcode/outline/tag/array.md) [`数学`](/leetcode/outline/tag/math.md) [`双指针`](/leetcode/outline/tag/two-pointers.md) `1+` | <font color=#ffb800>Medium</font> |
4646
| 977 | [有序数组的平方](https://leetcode.com/problems/squares-of-a-sorted-array) | | [`数组`](/leetcode/outline/tag/array.md) [`双指针`](/leetcode/outline/tag/two-pointers.md) [`排序`](/leetcode/outline/tag/sorting.md) | <font color=#15bd66>Easy</font> |
4747
| 881 | [救生艇](https://leetcode.com/problems/boats-to-save-people) | | [`贪心`](/leetcode/outline/tag/greedy.md) [`数组`](/leetcode/outline/tag/array.md) [`双指针`](/leetcode/outline/tag/two-pointers.md) `1+` | <font color=#ffb800>Medium</font> |

src/leetcode/outline/plan/codetop_list.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -141,7 +141,7 @@ headerDepth: 0
141141
| 剑指 Offer 04 | [二维数组中的查找](https://leetcode.cn/problems/er-wei-shu-zu-zhong-de-cha-zhao-lcof) | [[]](https://2xiao.github.io/leetcode-js/leetcode/problem/jz_offer_04_1) | [`数组`](/leetcode/outline/tag/array.md) [`二分查找`](/leetcode/outline/tag/binary-search.md) [`分治`](/leetcode/outline/tag/divide-and-conquer.md) `1+` | <font color=#ffb800>Medium</font> | 34 |
142142
| 440 | [字典序的第K小数字](https://leetcode.com/problems/k-th-smallest-in-lexicographical-order) | [[]](https://2xiao.github.io/leetcode-js/leetcode/problem/0440) | [`字典树`](/leetcode/outline/tag/trie.md) | <font color=#ff334b>Hard</font> | 33 |
143143
| 450 | [删除二叉搜索树中的节点](https://leetcode.com/problems/delete-node-in-a-bst) | [[]](https://2xiao.github.io/leetcode-js/leetcode/problem/0450) | [``](/leetcode/outline/tag/tree.md) [`二叉搜索树`](/leetcode/outline/tag/binary-search-tree.md) [`二叉树`](/leetcode/outline/tag/binary-tree.md) | <font color=#ffb800>Medium</font> | 33 |
144-
| 75 | [颜色分类](https://leetcode.com/problems/sort-colors) | | [`数组`](/leetcode/outline/tag/array.md) [`双指针`](/leetcode/outline/tag/two-pointers.md) [`排序`](/leetcode/outline/tag/sorting.md) | <font color=#ffb800>Medium</font> | 33 |
144+
| 75 | [颜色分类](https://leetcode.com/problems/sort-colors) | [[]](https://2xiao.github.io/leetcode-js/leetcode/problem/0075) | [`数组`](/leetcode/outline/tag/array.md) [`双指针`](/leetcode/outline/tag/two-pointers.md) [`排序`](/leetcode/outline/tag/sorting.md) | <font color=#ffb800>Medium</font> | 33 |
145145
| 剑指 Offer 10 - I | [斐波那契数列](https://leetcode.cn/problems/fei-bo-na-qi-shu-lie-lcof) | [[]](https://2xiao.github.io/leetcode-js/leetcode/problem/jz_offer_10_1) | [`记忆化搜索`](/leetcode/outline/tag/memoization.md) [`数学`](/leetcode/outline/tag/math.md) [`动态规划`](/leetcode/outline/tag/dynamic-programming.md) | <font color=#15bd66>Easy</font> | 33 |
146146
| 剑指 Offer 26 | [树的子结构](https://leetcode.cn/problems/shu-de-zi-jie-gou-lcof) | [[]](https://2xiao.github.io/leetcode-js/leetcode/problem/jz_offer_26_1) | [``](/leetcode/outline/tag/tree.md) [`深度优先搜索`](/leetcode/outline/tag/depth-first-search.md) [`二叉树`](/leetcode/outline/tag/binary-tree.md) | <font color=#ffb800>Medium</font> | 32 |
147147
| 45 | [跳跃游戏 II](https://leetcode.com/problems/jump-game-ii) | [[]](https://2xiao.github.io/leetcode-js/leetcode/problem/0045) | [`贪心`](/leetcode/outline/tag/greedy.md) [`数组`](/leetcode/outline/tag/array.md) [`动态规划`](/leetcode/outline/tag/dynamic-programming.md) | <font color=#ffb800>Medium</font> | 31 |

src/leetcode/outline/plan/rabbit_list.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -77,7 +77,7 @@ headerDepth: 0
7777
| 106 | [从中序与后序遍历序列构造二叉树](https://leetcode.com/problems/construct-binary-tree-from-inorder-and-postorder-traversal) | [[]](https://2xiao.github.io/leetcode-js/leetcode/problem/0106) | [``](/leetcode/outline/tag/tree.md) [`数组`](/leetcode/outline/tag/array.md) [`哈希表`](/leetcode/outline/tag/hash-table.md) `2+` | <font color=#ffb800>Medium</font> | 23 |
7878
| 99 | [恢复二叉搜索树](https://leetcode.com/problems/recover-binary-search-tree) | [[]](https://2xiao.github.io/leetcode-js/leetcode/problem/0099) | [``](/leetcode/outline/tag/tree.md) [`深度优先搜索`](/leetcode/outline/tag/depth-first-search.md) [`二叉搜索树`](/leetcode/outline/tag/binary-search-tree.md) `1+` | <font color=#ffb800>Medium</font> | 23 |
7979
| 121 | [买卖股票的最佳时机](https://leetcode.com/problems/best-time-to-buy-and-sell-stock) | [[]](https://2xiao.github.io/leetcode-js/leetcode/problem/0121) | [`数组`](/leetcode/outline/tag/array.md) [`动态规划`](/leetcode/outline/tag/dynamic-programming.md) | <font color=#15bd66>Easy</font> | 22 |
80-
| 75 | [颜色分类](https://leetcode.com/problems/sort-colors) | | [`数组`](/leetcode/outline/tag/array.md) [`双指针`](/leetcode/outline/tag/two-pointers.md) [`排序`](/leetcode/outline/tag/sorting.md) | <font color=#ffb800>Medium</font> | 22 |
80+
| 75 | [颜色分类](https://leetcode.com/problems/sort-colors) | [[]](https://2xiao.github.io/leetcode-js/leetcode/problem/0075) | [`数组`](/leetcode/outline/tag/array.md) [`双指针`](/leetcode/outline/tag/two-pointers.md) [`排序`](/leetcode/outline/tag/sorting.md) | <font color=#ffb800>Medium</font> | 22 |
8181
| 143 | [重排链表](https://leetcode.com/problems/reorder-list) | [[]](https://2xiao.github.io/leetcode-js/leetcode/problem/0143) | [``](/leetcode/outline/tag/stack.md) [`递归`](/leetcode/outline/tag/recursion.md) [`链表`](/leetcode/outline/tag/linked-list.md) `1+` | <font color=#ffb800>Medium</font> | 22 |
8282
| 695 | [岛屿的最大面积](https://leetcode.com/problems/max-area-of-island) | | [`深度优先搜索`](/leetcode/outline/tag/depth-first-search.md) [`广度优先搜索`](/leetcode/outline/tag/breadth-first-search.md) [`并查集`](/leetcode/outline/tag/union-find.md) `2+` | <font color=#ffb800>Medium</font> | 22 |
8383
| 227 | [基本计算器 II](https://leetcode.com/problems/basic-calculator-ii) | [[]](https://2xiao.github.io/leetcode-js/leetcode/problem/0227) | [``](/leetcode/outline/tag/stack.md) [`数学`](/leetcode/outline/tag/math.md) [`字符串`](/leetcode/outline/tag/string.md) | <font color=#ffb800>Medium</font> | 22 |

src/leetcode/outline/plan/top_200_list.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -392,7 +392,7 @@ headerDepth: 0
392392

393393
| 题号 | 标题 | 题解 | 标签 | 难度 | 频次 |
394394
| :------: | :------ | :------: | :------ | :------ | :------: |
395-
| 75 | [颜色分类](https://leetcode.com/problems/sort-colors) | | [`数组`](/leetcode/outline/tag/array.md) [`双指针`](/leetcode/outline/tag/two-pointers.md) [`排序`](/leetcode/outline/tag/sorting.md) | <font color=#ffb800>Medium</font> | 33 |
395+
| 75 | [颜色分类](https://leetcode.com/problems/sort-colors) | [[]](https://2xiao.github.io/leetcode-js/leetcode/problem/0075) | [`数组`](/leetcode/outline/tag/array.md) [`双指针`](/leetcode/outline/tag/two-pointers.md) [`排序`](/leetcode/outline/tag/sorting.md) | <font color=#ffb800>Medium</font> | 33 |
396396

397397

398398
* 希尔排序
@@ -530,7 +530,7 @@ headerDepth: 0
530530
| 16 | [最接近的三数之和](https://leetcode.com/problems/3sum-closest) | [[]](https://2xiao.github.io/leetcode-js/leetcode/problem/0016) | [`数组`](/leetcode/outline/tag/array.md) [`双指针`](/leetcode/outline/tag/two-pointers.md) [`排序`](/leetcode/outline/tag/sorting.md) | <font color=#ffb800>Medium</font> | 29 |
531531
| 125 | [验证回文串](https://leetcode.com/problems/valid-palindrome) | [[]](https://2xiao.github.io/leetcode-js/leetcode/problem/0125) | [`双指针`](/leetcode/outline/tag/two-pointers.md) [`字符串`](/leetcode/outline/tag/string.md) | <font color=#15bd66>Easy</font> | 29 |
532532
| 11 | [盛最多水的容器](https://leetcode.com/problems/container-with-most-water) | [[]](https://2xiao.github.io/leetcode-js/leetcode/problem/0011) | [`贪心`](/leetcode/outline/tag/greedy.md) [`数组`](/leetcode/outline/tag/array.md) [`双指针`](/leetcode/outline/tag/two-pointers.md) | <font color=#ffb800>Medium</font> | 43 |
533-
| 75 | [颜色分类](https://leetcode.com/problems/sort-colors) | | [`数组`](/leetcode/outline/tag/array.md) [`双指针`](/leetcode/outline/tag/two-pointers.md) [`排序`](/leetcode/outline/tag/sorting.md) | <font color=#ffb800>Medium</font> | 33 |
533+
| 75 | [颜色分类](https://leetcode.com/problems/sort-colors) | [[]](https://2xiao.github.io/leetcode-js/leetcode/problem/0075) | [`数组`](/leetcode/outline/tag/array.md) [`双指针`](/leetcode/outline/tag/two-pointers.md) [`排序`](/leetcode/outline/tag/sorting.md) | <font color=#ffb800>Medium</font> | 33 |
534534
| 剑指 Offer 21 | [调整数组顺序使奇数位于偶数前面](https://leetcode.cn/problems/diao-zheng-shu-zu-shun-xu-shi-qi-shu-wei-yu-ou-shu-qian-mian-lcof) | [[]](https://2xiao.github.io/leetcode-js/leetcode/problem/jz_offer_21_1) | [`数组`](/leetcode/outline/tag/array.md) [`双指针`](/leetcode/outline/tag/two-pointers.md) [`排序`](/leetcode/outline/tag/sorting.md) | <font color=#15bd66>Easy</font> | 30 |
535535
| 443 | [压缩字符串](https://leetcode.com/problems/string-compression) | | [`双指针`](/leetcode/outline/tag/two-pointers.md) [`字符串`](/leetcode/outline/tag/string.md) | <font color=#ffb800>Medium</font> | 18 |
536536

src/leetcode/outline/solution_list.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# 1.3 LeetCode 题解
22

3-
已完成 384
3+
已完成 386
44

55
| 题号 | 标题 | 题解 | 标签 | 难度 |
66
| :------: | :------ | :------: | :------ | :------ |
@@ -76,6 +76,7 @@
7676
| 72 | [编辑距离](https://leetcode.com/problems/edit-distance) | [[]](https://2xiao.github.io/leetcode-js/leetcode/problem/0072) | [`字符串`](/leetcode/outline/tag/string.md) [`动态规划`](/leetcode/outline/tag/dynamic-programming.md) | <font color=#ffb800>Medium</font> |
7777
| 73 | [矩阵置零](https://leetcode.com/problems/set-matrix-zeroes) | [[]](https://2xiao.github.io/leetcode-js/leetcode/problem/0073) | [`数组`](/leetcode/outline/tag/array.md) [`哈希表`](/leetcode/outline/tag/hash-table.md) [`矩阵`](/leetcode/outline/tag/matrix.md) | <font color=#ffb800>Medium</font> |
7878
| 74 | [搜索二维矩阵](https://leetcode.com/problems/search-a-2d-matrix) | [[]](https://2xiao.github.io/leetcode-js/leetcode/problem/0074) | [`数组`](/leetcode/outline/tag/array.md) [`二分查找`](/leetcode/outline/tag/binary-search.md) [`矩阵`](/leetcode/outline/tag/matrix.md) | <font color=#ffb800>Medium</font> |
79+
| 75 | [颜色分类](https://leetcode.com/problems/sort-colors) | [[]](https://2xiao.github.io/leetcode-js/leetcode/problem/0075) | [`数组`](/leetcode/outline/tag/array.md) [`双指针`](/leetcode/outline/tag/two-pointers.md) [`排序`](/leetcode/outline/tag/sorting.md) | <font color=#ffb800>Medium</font> |
7980
| 76 | [最小覆盖子串](https://leetcode.com/problems/minimum-window-substring) | [[]](https://2xiao.github.io/leetcode-js/leetcode/problem/0076) | [`哈希表`](/leetcode/outline/tag/hash-table.md) [`字符串`](/leetcode/outline/tag/string.md) [`滑动窗口`](/leetcode/outline/tag/sliding-window.md) | <font color=#ff334b>Hard</font> |
8081
| 77 | [组合](https://leetcode.com/problems/combinations) | [[]](https://2xiao.github.io/leetcode-js/leetcode/problem/0077) | [`回溯`](/leetcode/outline/tag/backtracking.md) | <font color=#ffb800>Medium</font> |
8182
| 78 | [子集](https://leetcode.com/problems/subsets) | [[]](https://2xiao.github.io/leetcode-js/leetcode/problem/0078) | [`位运算`](/leetcode/outline/tag/bit-manipulation.md) [`数组`](/leetcode/outline/tag/array.md) [`回溯`](/leetcode/outline/tag/backtracking.md) | <font color=#ffb800>Medium</font> |
@@ -301,6 +302,7 @@
301302
| 946 | [验证栈序列](https://leetcode.com/problems/validate-stack-sequences) | [[]](https://2xiao.github.io/leetcode-js/leetcode/problem/0946) | [``](/leetcode/outline/tag/stack.md) [`数组`](/leetcode/outline/tag/array.md) [`模拟`](/leetcode/outline/tag/simulation.md) | <font color=#ffb800>Medium</font> |
302303
| 954 | [二倍数对数组](https://leetcode.com/problems/array-of-doubled-pairs) | [[]](https://2xiao.github.io/leetcode-js/leetcode/problem/0954) | [`贪心`](/leetcode/outline/tag/greedy.md) [`数组`](/leetcode/outline/tag/array.md) [`哈希表`](/leetcode/outline/tag/hash-table.md) `1+` | <font color=#ffb800>Medium</font> |
303304
| 958 | [二叉树的完全性检验](https://leetcode.com/problems/check-completeness-of-a-binary-tree) | [[]](https://2xiao.github.io/leetcode-js/leetcode/problem/0958) | [``](/leetcode/outline/tag/tree.md) [`广度优先搜索`](/leetcode/outline/tag/breadth-first-search.md) [`二叉树`](/leetcode/outline/tag/binary-tree.md) | <font color=#ffb800>Medium</font> |
305+
| 962 | [最大宽度坡](https://leetcode.com/problems/maximum-width-ramp) | [[]](https://2xiao.github.io/leetcode-js/leetcode/problem/0962) | [``](/leetcode/outline/tag/stack.md) [`数组`](/leetcode/outline/tag/array.md) [`单调栈`](/leetcode/outline/tag/monotonic-stack.md) | <font color=#ffb800>Medium</font> |
304306
| 973 | [最接近原点的 K 个点](https://leetcode.com/problems/k-closest-points-to-origin) | [[]](https://2xiao.github.io/leetcode-js/leetcode/problem/0973) | [`几何`](/leetcode/outline/tag/geometry.md) [`数组`](/leetcode/outline/tag/array.md) [`数学`](/leetcode/outline/tag/math.md) `4+` | <font color=#ffb800>Medium</font> |
305307
| 986 | [区间列表的交集](https://leetcode.com/problems/interval-list-intersections) | [[]](https://2xiao.github.io/leetcode-js/leetcode/problem/0986) | [`数组`](/leetcode/outline/tag/array.md) [`双指针`](/leetcode/outline/tag/two-pointers.md) | <font color=#ffb800>Medium</font> |
306308
| 1008 | [前序遍历构造二叉搜索树](https://leetcode.com/problems/construct-binary-search-tree-from-preorder-traversal) | [[]](https://2xiao.github.io/leetcode-js/leetcode/problem/1008) | [``](/leetcode/outline/tag/stack.md) [``](/leetcode/outline/tag/tree.md) [`二叉搜索树`](/leetcode/outline/tag/binary-search-tree.md) `3+` | <font color=#ffb800>Medium</font> |

0 commit comments

Comments
 (0)