Skip to content

Commit 9c00ba3

Browse files
committed
add 57 452
1 parent c9fd001 commit 9c00ba3

File tree

15 files changed

+295
-142
lines changed

15 files changed

+295
-142
lines changed

assets/image/57.png

90.8 KB
Loading

assets/output/0057.md

Lines changed: 0 additions & 58 deletions
This file was deleted.

assets/output/0452.md

Lines changed: 0 additions & 73 deletions
This file was deleted.

src/.vuepress/sidebar.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -93,6 +93,7 @@ export default sidebar({
9393
"0054",
9494
"0055",
9595
"0056",
96+
"0057",
9697
"0058",
9798
"0059",
9899
"0061",
@@ -275,6 +276,7 @@ export default sidebar({
275276
"0445",
276277
"0450",
277278
"0451",
279+
"0452",
278280
"0474",
279281
"0485",
280282
"0494",

src/leetcode/algorithm/greed.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@
2525
| 0860 | [柠檬水找零](https://leetcode.com/problems/lemonade-change/) | | [`贪心`](/leetcode/outline/tag/greedy.md) [`数组`](/leetcode/outline/tag/array.md) | <font color=#15bd66>Easy</font> |
2626
| 0056 | [合并区间](https://leetcode.com/problems/merge-intervals/) | [JS](https://2xiao.github.io/leetcode-js/leetcode/problem/0056) | [`数组`](/leetcode/outline/tag/array.md) [`排序`](/leetcode/outline/tag/sorting.md) | <font color=#ffb800>Medium</font> |
2727
| 0435 | [无重叠区间](https://leetcode.com/problems/non-overlapping-intervals/) | | [`贪心`](/leetcode/outline/tag/greedy.md) [`数组`](/leetcode/outline/tag/array.md) [`动态规划`](/leetcode/outline/tag/dynamic-programming.md) `1+` | <font color=#ffb800>Medium</font> |
28-
| 0452 | [用最少数量的箭引爆气球](https://leetcode.com/problems/minimum-number-of-arrows-to-burst-balloons/) | | [`贪心`](/leetcode/outline/tag/greedy.md) [`数组`](/leetcode/outline/tag/array.md) [`排序`](/leetcode/outline/tag/sorting.md) | <font color=#ffb800>Medium</font> |
28+
| 0452 | [用最少数量的箭引爆气球](https://leetcode.com/problems/minimum-number-of-arrows-to-burst-balloons/) | [JS](https://2xiao.github.io/leetcode-js/leetcode/problem/0452) | [`贪心`](/leetcode/outline/tag/greedy.md) [`数组`](/leetcode/outline/tag/array.md) [`排序`](/leetcode/outline/tag/sorting.md) | <font color=#ffb800>Medium</font> |
2929
| 0055 | [跳跃游戏](https://leetcode.com/problems/jump-game/) | [JS](https://2xiao.github.io/leetcode-js/leetcode/problem/0055) | [`贪心`](/leetcode/outline/tag/greedy.md) [`数组`](/leetcode/outline/tag/array.md) [`动态规划`](/leetcode/outline/tag/dynamic-programming.md) | <font color=#ffb800>Medium</font> |
3030
| 0045 | [跳跃游戏 II](https://leetcode.com/problems/jump-game-ii/) | [JS](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> |
3131
| 0392 | [判断子序列](https://leetcode.com/problems/is-subsequence/) | [JS](https://2xiao.github.io/leetcode-js/leetcode/problem/0392) | [`双指针`](/leetcode/outline/tag/two-pointers.md) [`字符串`](/leetcode/outline/tag/string.md) [`动态规划`](/leetcode/outline/tag/dynamic-programming.md) | <font color=#15bd66>Easy</font> |

src/leetcode/outline/plan/company_list.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ title: "热门企业题库"
2424
| 1146 | [快照数组](https://leetcode.com/problems/snapshot-array/) | | [`设计`](/leetcode/outline/tag/design.md) [`数组`](/leetcode/outline/tag/array.md) [`哈希表`](/leetcode/outline/tag/hash-table.md) `1+` | <font color=#ffb800>Medium</font> | 14 |
2525
| 0269 | [火星词典](https://leetcode.com/problems/alien-dictionary/) | | [`深度优先搜索`](/leetcode/outline/tag/depth-first-search.md) [`广度优先搜索`](/leetcode/outline/tag/breadth-first-search.md) [``](/leetcode/outline/tag/graph.md) `3+` | <font color=#ff334b>Hard</font> | 14 |
2626
| 0695 | [岛屿的最大面积](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/disjoint-set-union.md) `2+` | <font color=#ffb800>Medium</font> | 13 |
27-
| 0057 | [插入区间](https://leetcode.com/problems/insert-interval/) | | [`数组`](/leetcode/outline/tag/array.md) | <font color=#ffb800>Medium</font> | 13 |
27+
| 0057 | [插入区间](https://leetcode.com/problems/insert-interval/) | [JS](https://2xiao.github.io/leetcode-js/leetcode/problem/0057) | [`数组`](/leetcode/outline/tag/array.md) | <font color=#ffb800>Medium</font> | 13 |
2828
| 0157 | [用 Read4 读取 N 个字符](https://leetcode.com/problems/read-n-characters-given-read4/) | | [`字符串`](/leetcode/outline/tag/string.md) [`交互`](/leetcode/outline/tag/interaction.md) [`模拟`](/leetcode/outline/tag/simulation.md) | <font color=#15bd66>Easy</font> | 12 |
2929
| 0297 | [二叉树的序列化与反序列化](https://leetcode.com/problems/serialize-and-deserialize-binary-tree/) | [JS](https://2xiao.github.io/leetcode-js/leetcode/problem/0297) | [``](/leetcode/outline/tag/tree.md) [`深度优先搜索`](/leetcode/outline/tag/depth-first-search.md) [`广度优先搜索`](/leetcode/outline/tag/breadth-first-search.md) `3+` | <font color=#ff334b>Hard</font> | 12 |
3030
| 0056 | [合并区间](https://leetcode.com/problems/merge-intervals/) | [JS](https://2xiao.github.io/leetcode-js/leetcode/problem/0056) | [`数组`](/leetcode/outline/tag/array.md) [`排序`](/leetcode/outline/tag/sorting.md) | <font color=#ffb800>Medium</font> | 12 |

src/leetcode/outline/plan/rabbit_list.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -169,7 +169,7 @@ title: "海外兔热题排行榜"
169169
| 0340 | [至多包含 K 个不同字符的最长子串](https://leetcode.com/problems/longest-substring-with-at-most-k-distinct-characters/) | | [`哈希表`](/leetcode/outline/tag/hash-table.md) [`字符串`](/leetcode/outline/tag/string.md) [`滑动窗口`](/leetcode/outline/tag/sliding-window.md) | <font color=#ffb800>Medium</font> | 14 |
170170
| 0101 | [对称二叉树](https://leetcode.com/problems/symmetric-tree/) | [JS](https://2xiao.github.io/leetcode-js/leetcode/problem/0101) | [``](/leetcode/outline/tag/tree.md) [`深度优先搜索`](/leetcode/outline/tag/depth-first-search.md) [`广度优先搜索`](/leetcode/outline/tag/breadth-first-search.md) `1+` | <font color=#15bd66>Easy</font> | 13 |
171171
| 0266 | [回文排列](https://leetcode.com/problems/palindrome-permutation/) | | [`位运算`](/leetcode/outline/tag/bit-manipulation.md) [`哈希表`](/leetcode/outline/tag/hash-table.md) [`字符串`](/leetcode/outline/tag/string.md) | <font color=#15bd66>Easy</font> | 13 |
172-
| 0057 | [插入区间](https://leetcode.com/problems/insert-interval/) | | [`数组`](/leetcode/outline/tag/array.md) | <font color=#ffb800>Medium</font> | 13 |
172+
| 0057 | [插入区间](https://leetcode.com/problems/insert-interval/) | [JS](https://2xiao.github.io/leetcode-js/leetcode/problem/0057) | [`数组`](/leetcode/outline/tag/array.md) | <font color=#ffb800>Medium</font> | 13 |
173173
| 0308 | [二维区域和检索 - 可变](https://leetcode.com/problems/range-sum-query-2d-mutable/) | | [`设计`](/leetcode/outline/tag/design.md) [`树状数组`](/leetcode/outline/tag/fenwick-tree.md) [`线段树`](/leetcode/outline/tag/segment-tree.md) `2+` | <font color=#ff334b>Hard</font> | 13 |
174174
| 0071 | [简化路径](https://leetcode.com/problems/simplify-path/) | [JS](https://2xiao.github.io/leetcode-js/leetcode/problem/0071) | [``](/leetcode/outline/tag/stack.md) [`字符串`](/leetcode/outline/tag/string.md) | <font color=#ffb800>Medium</font> | 13 |
175175
| 0987 | [二叉树的垂序遍历](https://leetcode.com/problems/vertical-order-traversal-of-a-binary-tree/) | | [``](/leetcode/outline/tag/tree.md) [`深度优先搜索`](/leetcode/outline/tag/depth-first-search.md) [`广度优先搜索`](/leetcode/outline/tag/breadth-first-search.md) `2+` | <font color=#ff334b>Hard</font> | 13 |

src/leetcode/outline/plan/top_150_list.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -93,8 +93,8 @@ title: "面试经典 150 题"
9393
| :------: | :------ | :------: | :------ | :------ |
9494
| 0228 | [汇总区间](https://leetcode.com/problems/summary-ranges/) | [JS](https://2xiao.github.io/leetcode-js/leetcode/problem/0228) | [`数组`](/leetcode/outline/tag/array.md) | <font color=#15bd66>Easy</font> |
9595
| 0056 | [合并区间](https://leetcode.com/problems/merge-intervals/) | [JS](https://2xiao.github.io/leetcode-js/leetcode/problem/0056) | [`数组`](/leetcode/outline/tag/array.md) [`排序`](/leetcode/outline/tag/sorting.md) | <font color=#ffb800>Medium</font> |
96-
| 0057 | [插入区间](https://leetcode.com/problems/insert-interval/) | | [`数组`](/leetcode/outline/tag/array.md) | <font color=#ffb800>Medium</font> |
97-
| 0452 | [用最少数量的箭引爆气球](https://leetcode.com/problems/minimum-number-of-arrows-to-burst-balloons/) | | [`贪心`](/leetcode/outline/tag/greedy.md) [`数组`](/leetcode/outline/tag/array.md) [`排序`](/leetcode/outline/tag/sorting.md) | <font color=#ffb800>Medium</font> |
96+
| 0057 | [插入区间](https://leetcode.com/problems/insert-interval/) | [JS](https://2xiao.github.io/leetcode-js/leetcode/problem/0057) | [`数组`](/leetcode/outline/tag/array.md) | <font color=#ffb800>Medium</font> |
97+
| 0452 | [用最少数量的箭引爆气球](https://leetcode.com/problems/minimum-number-of-arrows-to-burst-balloons/) | [JS](https://2xiao.github.io/leetcode-js/leetcode/problem/0452) | [`贪心`](/leetcode/outline/tag/greedy.md) [`数组`](/leetcode/outline/tag/array.md) [`排序`](/leetcode/outline/tag/sorting.md) | <font color=#ffb800>Medium</font> |
9898

9999

100100
## Stack

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-
已完成 324
3+
已完成 326
44

55
| 题号 | 标题 | 题解 | 标签 | 难度 |
66
| :------: | :------ | :------: | :------ | :------ |
@@ -53,6 +53,7 @@
5353
| 0054 | [螺旋矩阵](https://leetcode.com/problems/spiral-matrix/) | [JS](https://2xiao.github.io/leetcode-js/leetcode/problem/0054) | [`数组`](/leetcode/outline/tag/array.md) [`矩阵`](/leetcode/outline/tag/matrix.md) [`模拟`](/leetcode/outline/tag/simulation.md) | <font color=#ffb800>Medium</font> |
5454
| 0055 | [跳跃游戏](https://leetcode.com/problems/jump-game/) | [JS](https://2xiao.github.io/leetcode-js/leetcode/problem/0055) | [`贪心`](/leetcode/outline/tag/greedy.md) [`数组`](/leetcode/outline/tag/array.md) [`动态规划`](/leetcode/outline/tag/dynamic-programming.md) | <font color=#ffb800>Medium</font> |
5555
| 0056 | [合并区间](https://leetcode.com/problems/merge-intervals/) | [JS](https://2xiao.github.io/leetcode-js/leetcode/problem/0056) | [`数组`](/leetcode/outline/tag/array.md) [`排序`](/leetcode/outline/tag/sorting.md) | <font color=#ffb800>Medium</font> |
56+
| 0057 | [插入区间](https://leetcode.com/problems/insert-interval/) | [JS](https://2xiao.github.io/leetcode-js/leetcode/problem/0057) | [`数组`](/leetcode/outline/tag/array.md) | <font color=#ffb800>Medium</font> |
5657
| 0058 | [最后一个单词的长度](https://leetcode.com/problems/length-of-last-word/) | [JS](https://2xiao.github.io/leetcode-js/leetcode/problem/0058) | [`字符串`](/leetcode/outline/tag/string.md) | <font color=#15bd66>Easy</font> |
5758
| 0059 | [螺旋矩阵 II](https://leetcode.com/problems/spiral-matrix-ii/) | [JS](https://2xiao.github.io/leetcode-js/leetcode/problem/0059) | [`数组`](/leetcode/outline/tag/array.md) [`矩阵`](/leetcode/outline/tag/matrix.md) [`模拟`](/leetcode/outline/tag/simulation.md) | <font color=#ffb800>Medium</font> |
5859
| 0061 | [旋转链表](https://leetcode.com/problems/rotate-list/) | [JS](https://2xiao.github.io/leetcode-js/leetcode/problem/0061) | [`链表`](/leetcode/outline/tag/linked-list.md) [`双指针`](/leetcode/outline/tag/two-pointers.md) | <font color=#ffb800>Medium</font> |
@@ -211,6 +212,7 @@
211212
| 0445 | [两数相加 II](https://leetcode.com/problems/add-two-numbers-ii/) | [JS](https://2xiao.github.io/leetcode-js/leetcode/problem/0445) | [``](/leetcode/outline/tag/stack.md) [`链表`](/leetcode/outline/tag/linked-list.md) [`数学`](/leetcode/outline/tag/mathematics.md) | <font color=#ffb800>Medium</font> |
212213
| 0450 | [删除二叉搜索树中的节点](https://leetcode.com/problems/delete-node-in-a-bst/) | [JS](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> |
213214
| 0451 | [根据字符出现频率排序](https://leetcode.com/problems/sort-characters-by-frequency/) | [JS](https://2xiao.github.io/leetcode-js/leetcode/problem/0451) | [`哈希表`](/leetcode/outline/tag/hash-table.md) [`字符串`](/leetcode/outline/tag/string.md) [`桶排序`](/leetcode/outline/tag/bucket-sort.md) `3+` | <font color=#ffb800>Medium</font> |
215+
| 0452 | [用最少数量的箭引爆气球](https://leetcode.com/problems/minimum-number-of-arrows-to-burst-balloons/) | [JS](https://2xiao.github.io/leetcode-js/leetcode/problem/0452) | [`贪心`](/leetcode/outline/tag/greedy.md) [`数组`](/leetcode/outline/tag/array.md) [`排序`](/leetcode/outline/tag/sorting.md) | <font color=#ffb800>Medium</font> |
214216
| 0474 | [一和零](https://leetcode.com/problems/ones-and-zeroes/) | [JS](https://2xiao.github.io/leetcode-js/leetcode/problem/0474) | [`数组`](/leetcode/outline/tag/array.md) [`字符串`](/leetcode/outline/tag/string.md) [`动态规划`](/leetcode/outline/tag/dynamic-programming.md) | <font color=#ffb800>Medium</font> |
215217
| 0485 | [最大连续 1 的个数](https://leetcode.com/problems/max-consecutive-ones/) | [JS](https://2xiao.github.io/leetcode-js/leetcode/problem/0485) | [`数组`](/leetcode/outline/tag/array.md) | <font color=#15bd66>Easy</font> |
216218
| 0494 | [目标和](https://leetcode.com/problems/target-sum/) | [JS](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> |

0 commit comments

Comments
 (0)