Skip to content

Commit e6c0106

Browse files
committed
add 84 118 ...
1 parent f436848 commit e6c0106

31 files changed

+1328
-27
lines changed

src/.vuepress/sidebar.ts

Lines changed: 16 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -137,6 +137,7 @@ export default sidebar({
137137
"0081",
138138
"0082",
139139
"0083",
140+
"0084",
140141
"0085",
141142
"0086",
142143
"0088",
@@ -172,6 +173,7 @@ export default sidebar({
172173
"0114",
173174
"0116",
174175
"0117",
176+
"0118",
175177
"0120",
176178
"0121",
177179
"0122",
@@ -318,6 +320,7 @@ export default sidebar({
318320
"0430",
319321
"0432",
320322
"0433",
323+
"0437",
321324
"0438",
322325
"0440",
323326
"0442",
@@ -390,6 +393,7 @@ export default sidebar({
390393
"0729",
391394
"0731",
392395
"0739",
396+
"0763",
393397
"0772",
394398
"0783"
395399
],
@@ -418,7 +422,8 @@ export default sidebar({
418422
"0958",
419423
"0962",
420424
"0973",
421-
"0986"
425+
"0986",
426+
"0994"
422427
],
423428
},
424429
{
@@ -529,9 +534,19 @@ export default sidebar({
529534
text: "2600-2699",
530535
collapsible: true,
531536
children: [
537+
"2620",
538+
"2667",
532539
"2696"
533540
],
534541
},
542+
{
543+
text: "2700-2799",
544+
collapsible: true,
545+
children: [
546+
"2704",
547+
"2740"
548+
],
549+
},
535550
{
536551
text: "2900-2999",
537552
collapsible: true,

src/leetcode/algorithm/dynamic_programming.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -132,7 +132,7 @@
132132
<!-- prettier-ignore -->
133133
| 题号 | 标题 | 题解 | 标签 | 难度 |
134134
| :------: | :------ | :------: | :------ | :------ |
135-
| 118 | [杨辉三角](https://leetcode.com/problems/pascals-triangle) | | [`数组`](/leetcode/outline/tag/array.md) [`动态规划`](/leetcode/outline/tag/dynamic-programming.md) | <font color=#15bd66>Easy</font> |
135+
| 118 | [杨辉三角](https://leetcode.com/problems/pascals-triangle) | [[]](https://2xiao.github.io/leetcode-js/leetcode/problem/0118) | [`数组`](/leetcode/outline/tag/array.md) [`动态规划`](/leetcode/outline/tag/dynamic-programming.md) | <font color=#15bd66>Easy</font> |
136136
| 119 | [杨辉三角 II](https://leetcode.com/problems/pascals-triangle-ii) | | [`数组`](/leetcode/outline/tag/array.md) [`动态规划`](/leetcode/outline/tag/dynamic-programming.md) | <font color=#15bd66>Easy</font> |
137137
| 120 | [三角形最小路径和](https://leetcode.com/problems/triangle) | [[]](https://2xiao.github.io/leetcode-js/leetcode/problem/0120) | [`数组`](/leetcode/outline/tag/array.md) [`动态规划`](/leetcode/outline/tag/dynamic-programming.md) | <font color=#ffb800>Medium</font> |
138138
| 64 | [最小路径和](https://leetcode.com/problems/minimum-path-sum) | [[]](https://2xiao.github.io/leetcode-js/leetcode/problem/0064) | [`数组`](/leetcode/outline/tag/array.md) [`动态规划`](/leetcode/outline/tag/dynamic-programming.md) [`矩阵`](/leetcode/outline/tag/matrix.md) | <font color=#ffb800>Medium</font> |

src/leetcode/algorithm/recursion.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ function f(n) {
3939
| :------: | :------ | :------: | :------ | :------ |
4040
| 344 | [反转字符串](https://leetcode.com/problems/reverse-string) | [[]](https://2xiao.github.io/leetcode-js/leetcode/problem/0344) | [`双指针`](/leetcode/outline/tag/two-pointers.md) [`字符串`](/leetcode/outline/tag/string.md) | <font color=#15bd66>Easy</font> |
4141
| 24 | [两两交换链表中的节点](https://leetcode.com/problems/swap-nodes-in-pairs) | [[]](https://2xiao.github.io/leetcode-js/leetcode/problem/0024) | [`递归`](/leetcode/outline/tag/recursion.md) [`链表`](/leetcode/outline/tag/linked-list.md) | <font color=#ffb800>Medium</font> |
42-
| 118 | [杨辉三角](https://leetcode.com/problems/pascals-triangle) | | [`数组`](/leetcode/outline/tag/array.md) [`动态规划`](/leetcode/outline/tag/dynamic-programming.md) | <font color=#15bd66>Easy</font> |
42+
| 118 | [杨辉三角](https://leetcode.com/problems/pascals-triangle) | [[]](https://2xiao.github.io/leetcode-js/leetcode/problem/0118) | [`数组`](/leetcode/outline/tag/array.md) [`动态规划`](/leetcode/outline/tag/dynamic-programming.md) | <font color=#15bd66>Easy</font> |
4343
| 119 | [杨辉三角 II](https://leetcode.com/problems/pascals-triangle-ii) | | [`数组`](/leetcode/outline/tag/array.md) [`动态规划`](/leetcode/outline/tag/dynamic-programming.md) | <font color=#15bd66>Easy</font> |
4444
| 206 | [反转链表](https://leetcode.com/problems/reverse-linked-list) | [[]](https://2xiao.github.io/leetcode-js/leetcode/problem/0206) | [`递归`](/leetcode/outline/tag/recursion.md) [`链表`](/leetcode/outline/tag/linked-list.md) | <font color=#15bd66>Easy</font> |
4545
| 92 | [反转链表 II](https://leetcode.com/problems/reverse-linked-list-ii) | [[]](https://2xiao.github.io/leetcode-js/leetcode/problem/0092) | [`链表`](/leetcode/outline/tag/linked-list.md) | <font color=#ffb800>Medium</font> |

src/leetcode/ds/stack.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -643,7 +643,7 @@ var dailyTemperatures = function (temperatures) {
643643
| 496 | [下一个更大元素 I](https://leetcode.com/problems/next-greater-element-i) | [[]](https://2xiao.github.io/leetcode-js/leetcode/problem/0496) | [``](/leetcode/outline/tag/stack.md) [`数组`](/leetcode/outline/tag/array.md) [`哈希表`](/leetcode/outline/tag/hash-table.md) `1+` | <font color=#15bd66>Easy</font> |
644644
| 503 | [下一个更大元素 II](https://leetcode.com/problems/next-greater-element-ii) | [[]](https://2xiao.github.io/leetcode-js/leetcode/problem/0503) | [``](/leetcode/outline/tag/stack.md) [`数组`](/leetcode/outline/tag/array.md) [`单调栈`](/leetcode/outline/tag/monotonic-stack.md) | <font color=#ffb800>Medium</font> |
645645
| 901 | [股票价格跨度](https://leetcode.com/problems/online-stock-span) | | [``](/leetcode/outline/tag/stack.md) [`设计`](/leetcode/outline/tag/design.md) [`数据流`](/leetcode/outline/tag/data-stream.md) `1+` | <font color=#ffb800>Medium</font> |
646-
| 84 | [柱状图中最大的矩形](https://leetcode.com/problems/largest-rectangle-in-histogram) | | [``](/leetcode/outline/tag/stack.md) [`数组`](/leetcode/outline/tag/array.md) [`单调栈`](/leetcode/outline/tag/monotonic-stack.md) | <font color=#ff334b>Hard</font> |
646+
| 84 | [柱状图中最大的矩形](https://leetcode.com/problems/largest-rectangle-in-histogram) | [[]](https://2xiao.github.io/leetcode-js/leetcode/problem/0084) | [``](/leetcode/outline/tag/stack.md) [`数组`](/leetcode/outline/tag/array.md) [`单调栈`](/leetcode/outline/tag/monotonic-stack.md) | <font color=#ff334b>Hard</font> |
647647
| 316 | [去除重复字母](https://leetcode.com/problems/remove-duplicate-letters) | [[]](https://2xiao.github.io/leetcode-js/leetcode/problem/0316) | [``](/leetcode/outline/tag/stack.md) [`贪心`](/leetcode/outline/tag/greedy.md) [`字符串`](/leetcode/outline/tag/string.md) `1+` | <font color=#ffb800>Medium</font> |
648648
| 42 | [接雨水](https://leetcode.com/problems/trapping-rain-water) | [[]](https://2xiao.github.io/leetcode-js/leetcode/problem/0042) | [``](/leetcode/outline/tag/stack.md) [`数组`](/leetcode/outline/tag/array.md) [`双指针`](/leetcode/outline/tag/two-pointers.md) `2+` | <font color=#ff334b>Hard</font> |
649649
| 85 | [最大矩形](https://leetcode.com/problems/maximal-rectangle) | [[]](https://2xiao.github.io/leetcode-js/leetcode/problem/0085) | [``](/leetcode/outline/tag/stack.md) [`数组`](/leetcode/outline/tag/array.md) [`动态规划`](/leetcode/outline/tag/dynamic-programming.md) `2+` | <font color=#ff334b>Hard</font> |

src/leetcode/outline/plan/codetop_list.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -209,7 +209,7 @@ headerDepth: 0
209209
| 494 | [目标和](https://leetcode.com/problems/target-sum) | [[]](https://2xiao.github.io/leetcode-js/leetcode/problem/0494) | [`数组`](/leetcode/outline/tag/array.md) [`动态规划`](/leetcode/outline/tag/dynamic-programming.md) [`回溯`](/leetcode/outline/tag/backtracking.md) | <font color=#ffb800>Medium</font> | 17 |
210210
| 516 | [最长回文子序列](https://leetcode.com/problems/longest-palindromic-subsequence) | [[]](https://2xiao.github.io/leetcode-js/leetcode/problem/0516) | [`字符串`](/leetcode/outline/tag/string.md) [`动态规划`](/leetcode/outline/tag/dynamic-programming.md) | <font color=#ffb800>Medium</font> | 17 |
211211
| 115 | [不同的子序列](https://leetcode.com/problems/distinct-subsequences) | | [`字符串`](/leetcode/outline/tag/string.md) [`动态规划`](/leetcode/outline/tag/dynamic-programming.md) | <font color=#ff334b>Hard</font> | 17 |
212-
| 84 | [柱状图中最大的矩形](https://leetcode.com/problems/largest-rectangle-in-histogram) | | [``](/leetcode/outline/tag/stack.md) [`数组`](/leetcode/outline/tag/array.md) [`单调栈`](/leetcode/outline/tag/monotonic-stack.md) | <font color=#ff334b>Hard</font> | 17 |
212+
| 84 | [柱状图中最大的矩形](https://leetcode.com/problems/largest-rectangle-in-histogram) | [[]](https://2xiao.github.io/leetcode-js/leetcode/problem/0084) | [``](/leetcode/outline/tag/stack.md) [`数组`](/leetcode/outline/tag/array.md) [`单调栈`](/leetcode/outline/tag/monotonic-stack.md) | <font color=#ff334b>Hard</font> | 17 |
213213
| 97 | [交错字符串](https://leetcode.com/problems/interleaving-string) | [[]](https://2xiao.github.io/leetcode-js/leetcode/problem/0097) | [`字符串`](/leetcode/outline/tag/string.md) [`动态规划`](/leetcode/outline/tag/dynamic-programming.md) | <font color=#ffb800>Medium</font> | 17 |
214214
| 264 | [丑数 II](https://leetcode.com/problems/ugly-number-ii) | [[]](https://2xiao.github.io/leetcode-js/leetcode/problem/0264) | [`哈希表`](/leetcode/outline/tag/hash-table.md) [`数学`](/leetcode/outline/tag/math.md) [`动态规划`](/leetcode/outline/tag/dynamic-programming.md) `1+` | <font color=#ffb800>Medium</font> | 17 |
215215
| 剑指 Offer 48 | [最长不含重复字符的子字符串](https://leetcode.cn/problems/zui-chang-bu-han-zhong-fu-zi-fu-de-zi-zi-fu-chuan-lcof) | [[]](https://2xiao.github.io/leetcode-js/leetcode/problem/jz_offer_48_1) | [`哈希表`](/leetcode/outline/tag/hash-table.md) [`字符串`](/leetcode/outline/tag/string.md) [`滑动窗口`](/leetcode/outline/tag/sliding-window.md) | <font color=#ffb800>Medium</font> | 17 |

src/leetcode/outline/plan/top_300_list.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -107,7 +107,7 @@ headerDepth: 0
107107
| 236 | [二叉树的最近公共祖先](https://leetcode.com/problems/lowest-common-ancestor-of-a-binary-tree) | [[]](https://2xiao.github.io/leetcode-js/leetcode/problem/0236) | [``](/leetcode/outline/tag/tree.md) [`深度优先搜索`](/leetcode/outline/tag/depth-first-search.md) [`二叉树`](/leetcode/outline/tag/binary-tree.md) | <font color=#ffb800>Medium</font> |
108108
| 222 | [完全二叉树的节点个数](https://leetcode.com/problems/count-complete-tree-nodes) | [[]](https://2xiao.github.io/leetcode-js/leetcode/problem/0222) | [`位运算`](/leetcode/outline/tag/bit-manipulation.md) [``](/leetcode/outline/tag/tree.md) [`二分查找`](/leetcode/outline/tag/binary-search.md) `1+` | <font color=#15bd66>Easy</font> |
109109
| 113 | [路径总和 II](https://leetcode.com/problems/path-sum-ii) | [[]](https://2xiao.github.io/leetcode-js/leetcode/problem/0113) | [``](/leetcode/outline/tag/tree.md) [`深度优先搜索`](/leetcode/outline/tag/depth-first-search.md) [`回溯`](/leetcode/outline/tag/backtracking.md) `1+` | <font color=#ffb800>Medium</font> |
110-
| 437 | [路径总和 III](https://leetcode.com/problems/path-sum-iii) | | [``](/leetcode/outline/tag/tree.md) [`深度优先搜索`](/leetcode/outline/tag/depth-first-search.md) [`二叉树`](/leetcode/outline/tag/binary-tree.md) | <font color=#ffb800>Medium</font> |
110+
| 437 | [路径总和 III](https://leetcode.com/problems/path-sum-iii) | [[]](https://2xiao.github.io/leetcode-js/leetcode/problem/0437) | [``](/leetcode/outline/tag/tree.md) [`深度优先搜索`](/leetcode/outline/tag/depth-first-search.md) [`二叉树`](/leetcode/outline/tag/binary-tree.md) | <font color=#ffb800>Medium</font> |
111111
| 129 | [求根节点到叶节点数字之和](https://leetcode.com/problems/sum-root-to-leaf-numbers) | [[]](https://2xiao.github.io/leetcode-js/leetcode/problem/0129) | [``](/leetcode/outline/tag/tree.md) [`深度优先搜索`](/leetcode/outline/tag/depth-first-search.md) [`二叉树`](/leetcode/outline/tag/binary-tree.md) | <font color=#ffb800>Medium</font> |
112112
| 662 | [二叉树最大宽度](https://leetcode.com/problems/maximum-width-of-binary-tree) | [[]](https://2xiao.github.io/leetcode-js/leetcode/problem/0662) | [``](/leetcode/outline/tag/tree.md) [`深度优先搜索`](/leetcode/outline/tag/depth-first-search.md) [`广度优先搜索`](/leetcode/outline/tag/breadth-first-search.md) `1+` | <font color=#ffb800>Medium</font> |
113113
| 114 | [二叉树展开为链表](https://leetcode.com/problems/flatten-binary-tree-to-linked-list) | [[]](https://2xiao.github.io/leetcode-js/leetcode/problem/0114) | [``](/leetcode/outline/tag/stack.md) [``](/leetcode/outline/tag/tree.md) [`深度优先搜索`](/leetcode/outline/tag/depth-first-search.md) `2+` | <font color=#ffb800>Medium</font> |
@@ -210,7 +210,7 @@ headerDepth: 0
210210
| 316 | [去除重复字母](https://leetcode.com/problems/remove-duplicate-letters) | [[]](https://2xiao.github.io/leetcode-js/leetcode/problem/0316) | [``](/leetcode/outline/tag/stack.md) [`贪心`](/leetcode/outline/tag/greedy.md) [`字符串`](/leetcode/outline/tag/string.md) `1+` | <font color=#ffb800>Medium</font> |
211211
| 1124 | [表现良好的最长时间段](https://leetcode.com/problems/longest-well-performing-interval) | | [``](/leetcode/outline/tag/stack.md) [`数组`](/leetcode/outline/tag/array.md) [`哈希表`](/leetcode/outline/tag/hash-table.md) `2+` | <font color=#ffb800>Medium</font> |
212212
| 42 | [接雨水](https://leetcode.com/problems/trapping-rain-water) | [[]](https://2xiao.github.io/leetcode-js/leetcode/problem/0042) | [``](/leetcode/outline/tag/stack.md) [`数组`](/leetcode/outline/tag/array.md) [`双指针`](/leetcode/outline/tag/two-pointers.md) `2+` | <font color=#ff334b>Hard</font> |
213-
| 84 | [柱状图中最大的矩形](https://leetcode.com/problems/largest-rectangle-in-histogram) | | [``](/leetcode/outline/tag/stack.md) [`数组`](/leetcode/outline/tag/array.md) [`单调栈`](/leetcode/outline/tag/monotonic-stack.md) | <font color=#ff334b>Hard</font> |
213+
| 84 | [柱状图中最大的矩形](https://leetcode.com/problems/largest-rectangle-in-histogram) | [[]](https://2xiao.github.io/leetcode-js/leetcode/problem/0084) | [``](/leetcode/outline/tag/stack.md) [`数组`](/leetcode/outline/tag/array.md) [`单调栈`](/leetcode/outline/tag/monotonic-stack.md) | <font color=#ff334b>Hard</font> |
214214
| 85 | [最大矩形](https://leetcode.com/problems/maximal-rectangle) | [[]](https://2xiao.github.io/leetcode-js/leetcode/problem/0085) | [``](/leetcode/outline/tag/stack.md) [`数组`](/leetcode/outline/tag/array.md) [`动态规划`](/leetcode/outline/tag/dynamic-programming.md) `2+` | <font color=#ff334b>Hard</font> |
215215
| 321 | [拼接最大数](https://leetcode.com/problems/create-maximum-number) | | [``](/leetcode/outline/tag/stack.md) [`贪心`](/leetcode/outline/tag/greedy.md) [`数组`](/leetcode/outline/tag/array.md) `2+` | <font color=#ff334b>Hard</font> |
216216

@@ -427,7 +427,7 @@ headerDepth: 0
427427
| 1319 | [连通网络的操作次数](https://leetcode.com/problems/number-of-operations-to-make-network-connected) | | [`深度优先搜索`](/leetcode/outline/tag/depth-first-search.md) [`广度优先搜索`](/leetcode/outline/tag/breadth-first-search.md) [`并查集`](/leetcode/outline/tag/union-find.md) `1+` | <font color=#ffb800>Medium</font> |
428428
| 934 | [最短的桥](https://leetcode.com/problems/shortest-bridge) | | [`深度优先搜索`](/leetcode/outline/tag/depth-first-search.md) [`广度优先搜索`](/leetcode/outline/tag/breadth-first-search.md) [`数组`](/leetcode/outline/tag/array.md) `1+` | <font color=#ffb800>Medium</font> |
429429
| 785 | [判断二分图](https://leetcode.com/problems/is-graph-bipartite) | | [`深度优先搜索`](/leetcode/outline/tag/depth-first-search.md) [`广度优先搜索`](/leetcode/outline/tag/breadth-first-search.md) [`并查集`](/leetcode/outline/tag/union-find.md) `1+` | <font color=#ffb800>Medium</font> |
430-
| 994 | [腐烂的橘子](https://leetcode.com/problems/rotting-oranges) | | [`广度优先搜索`](/leetcode/outline/tag/breadth-first-search.md) [`数组`](/leetcode/outline/tag/array.md) [`矩阵`](/leetcode/outline/tag/matrix.md) | <font color=#ffb800>Medium</font> |
430+
| 994 | [腐烂的橘子](https://leetcode.com/problems/rotting-oranges) | [[]](https://2xiao.github.io/leetcode-js/leetcode/problem/0994) | [`广度优先搜索`](/leetcode/outline/tag/breadth-first-search.md) [`数组`](/leetcode/outline/tag/array.md) [`矩阵`](/leetcode/outline/tag/matrix.md) | <font color=#ffb800>Medium</font> |
431431
| 752 | [打开转盘锁](https://leetcode.com/problems/open-the-lock) | | [`广度优先搜索`](/leetcode/outline/tag/breadth-first-search.md) [`数组`](/leetcode/outline/tag/array.md) [`哈希表`](/leetcode/outline/tag/hash-table.md) `1+` | <font color=#ffb800>Medium</font> |
432432
| 1162 | [地图分析](https://leetcode.com/problems/as-far-from-land-as-possible) | | [`广度优先搜索`](/leetcode/outline/tag/breadth-first-search.md) [`数组`](/leetcode/outline/tag/array.md) [`动态规划`](/leetcode/outline/tag/dynamic-programming.md) `1+` | <font color=#ffb800>Medium</font> |
433433
| 529 | [扫雷游戏](https://leetcode.com/problems/minesweeper) | | [`深度优先搜索`](/leetcode/outline/tag/depth-first-search.md) [`广度优先搜索`](/leetcode/outline/tag/breadth-first-search.md) [`数组`](/leetcode/outline/tag/array.md) `1+` | <font color=#ffb800>Medium</font> |

0 commit comments

Comments
 (0)