Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit a737791

Browse filesBrowse files
committed
add 29 solutions
1 parent 358664d commit a737791
Copy full SHA for a737791

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.
Dismiss banner
Expand file treeCollapse file tree

62 files changed

+4583
-110
lines changed

‎assets/scripts/problem-list.csv

Copy file name to clipboardExpand all lines: assets/scripts/problem-list.csv
+6-6Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -595,12 +595,12 @@ frontendId,fileName,catalog,title,titleCN,slug,tags,difficulty,status,similar,pa
595595
594,0594,0500-0599,Longest Harmonious Subsequence,最长和谐子序列,longest-harmonious-subsequence,"Array|array|数组,Hash Table|hash-table|哈希表,Counting|counting|计数,Sorting|sorting|排序,Sliding Window|sliding-window|滑动窗口",Easy,False,,0
596596
595,0595,0500-0599,Big Countries,大的国家,big-countries,Database|database|数据库,Easy,False,,0
597597
596,0596,0500-0599,Classes More Than 5 Students,超过 5 名学生的课,classes-more-than-5-students,Database|database|数据库,Easy,False,,0
598-
597,0597,0500-0599,Friend Requests I: Overall Acceptance Rate,好友申请 I:总体通过率,friend-requests-i-overall-acceptance-rate,Database|database|数据库,Easy,False,,1
598+
597,0597,0500-0599,Friend Requests I - Overall Acceptance Rate,好友申请 I:总体通过率,friend-requests-i-overall-acceptance-rate,Database|database|数据库,Easy,False,,1
599599
598,0598,0500-0599,Range Addition II,区间加法 II,range-addition-ii,"Array|array|数组,Math|math|数学",Easy,False,0370|2718,0
600600
599,0599,0500-0599,Minimum Index Sum of Two Lists,两个列表的最小索引总和,minimum-index-sum-of-two-lists,"Array|array|数组,Hash Table|hash-table|哈希表,String|string|字符串",Easy,False,0160,0
601601
600,0600,0600-0699,Non-negative Integers without Consecutive Ones,不含连续1的非负整数,non-negative-integers-without-consecutive-ones,Dynamic Programming|dynamic-programming|动态规划,Hard,False,0198|0213|0474|3211,0
602602
601,0601,0600-0699,Human Traffic of Stadium,体育馆的人流量,human-traffic-of-stadium,Database|database|数据库,Hard,False,,0
603-
602,0602,0600-0699,Friend Requests II: Who Has the Most Friends,好友申请 II :谁有最多的好友,friend-requests-ii-who-has-the-most-friends,Database|database|数据库,Medium,False,,0
603+
602,0602,0600-0699,Friend Requests II - Who Has the Most Friends,好友申请 II :谁有最多的好友,friend-requests-ii-who-has-the-most-friends,Database|database|数据库,Medium,False,,0
604604
603,0603,0600-0699,Consecutive Available Seats,连续空余座位,consecutive-available-seats,Database|database|数据库,Easy,False,,1
605605
604,0604,0600-0699,Design Compressed String Iterator,迭代压缩字符串,design-compressed-string-iterator,"Design|design|设计,Array|array|数组,String|string|字符串,Iterator|iterator|迭代器",Easy,False,0146|0443,1
606606
605,0605,0600-0699,Can Place Flowers,种花问题,can-place-flowers,"Greedy|greedy|贪心,Array|array|数组",Easy,True,0495|0735,0
@@ -613,7 +613,7 @@ frontendId,fileName,catalog,title,titleCN,slug,tags,difficulty,status,similar,pa
613613
612,0612,0600-0699,Shortest Distance in a Plane,平面上的最近距离,shortest-distance-in-a-plane,Database|database|数据库,Medium,False,,1
614614
613,0613,0600-0699,Shortest Distance in a Line,直线上的最近距离,shortest-distance-in-a-line,Database|database|数据库,Easy,False,,1
615615
614,0614,0600-0699,Second Degree Follower,二级关注者,second-degree-follower,Database|database|数据库,Medium,False,,1
616-
615,0615,0600-0699,Average Salary: Departments VS Company,平均工资:部门与公司比较,average-salary-departments-vs-company,Database|database|数据库,Hard,False,1501,1
616+
615,0615,0600-0699,Average Salary - Departments VS Company,平均工资:部门与公司比较,average-salary-departments-vs-company,Database|database|数据库,Hard,False,1501,1
617617
616,0616,0600-0699,Add Bold Tag in String,给字符串添加加粗标签,add-bold-tag-in-string,"Trie|trie|字典树,Array|array|数组,Hash Table|hash-table|哈希表,String|string|字符串,String Matching|string-matching|字符串匹配",Medium,False,0056|0591,1
618618
617,0617,0600-0699,Merge Two Binary Trees,合并二叉树,merge-two-binary-trees,"Tree|tree|树,Depth-First Search|depth-first-search|深度优先搜索,Breadth-First Search|breadth-first-search|广度优先搜索,Binary Tree|binary-tree|二叉树",Easy,True,,0
619619
618,0618,0600-0699,Students Report By Geography,学生地理信息报告,students-report-by-geography,Database|database|数据库,Hard,False,,1
@@ -2886,9 +2886,9 @@ frontendId,fileName,catalog,title,titleCN,slug,tags,difficulty,status,similar,pa
28862886
2885,2885,2800-2899,Rename Columns,重命名列,rename-columns,,Easy,False,,0
28872887
2886,2886,2800-2899,Change Data Type,改变数据类型,change-data-type,,Easy,False,,0
28882888
2887,2887,2800-2899,Fill Missing Data,填充缺失值,fill-missing-data,,Easy,False,,0
2889-
2888,2888,2800-2899,Reshape Data: Concatenate,重塑数据:连结,reshape-data-concatenate,,Easy,False,,0
2890-
2889,2889,2800-2899,Reshape Data: Pivot,数据重塑:透视,reshape-data-pivot,,Easy,False,,0
2891-
2890,2890,2800-2899,Reshape Data: Melt,重塑数据:融合,reshape-data-melt,,Easy,False,,0
2889+
2888,2888,2800-2899,Reshape Data - Concatenate,重塑数据:连结,reshape-data-concatenate,,Easy,False,,0
2890+
2889,2889,2800-2899,Reshape Data - Pivot,数据重塑:透视,reshape-data-pivot,,Easy,False,,0
2891+
2890,2890,2800-2899,Reshape Data - Melt,重塑数据:融合,reshape-data-melt,,Easy,False,,0
28922892
2891,2891,2800-2899,Method Chaining,方法链,method-chaining,,Easy,False,,0
28932893
2892,2892,2800-2899,Minimizing Array After Replacing Pairs With Their Product,将相邻元素相乘后得到最小化数组,minimizing-array-after-replacing-pairs-with-their-product,"Greedy|greedy|贪心,Array|array|数组,Dynamic Programming|dynamic-programming|动态规划",Medium,False,,1
28942894
2893,2893,2800-2899,Calculate Orders Within Each Interval,计算每个区间内的订单,calculate-orders-within-each-interval,Database|database|数据库,Medium,False,,1

‎src/.vuepress/sidebar.ts

Copy file name to clipboardExpand all lines: src/.vuepress/sidebar.ts
+30-1Lines changed: 30 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -434,17 +434,26 @@ export default sidebar({
434434
"0705",
435435
"0706",
436436
"0707",
437+
"0709",
437438
"0712",
438439
"0714",
440+
"0717",
439441
"0724",
440442
"0728",
441443
"0729",
442444
"0731",
445+
"0733",
443446
"0735",
444447
"0739",
445448
"0744",
446449
"0746",
450+
"0747",
451+
"0748",
452+
"0762",
447453
"0763",
454+
"0766",
455+
"0769",
456+
"0771",
448457
"0772",
449458
"0773",
450459
"0783",
@@ -456,24 +465,44 @@ export default sidebar({
456465
"text": "0800-0899",
457466
"collapsible": true,
458467
"children": [
468+
"0804",
469+
"0806",
470+
"0812",
471+
"0819",
472+
"0821",
473+
"0824",
474+
"0830",
475+
"0832",
476+
"0836",
459477
"0841",
460478
"0843",
461479
"0844",
462480
"0845",
463481
"0852",
482+
"0859",
483+
"0860",
464484
"0862",
485+
"0867",
486+
"0868",
465487
"0872",
466488
"0875",
467489
"0876",
468490
"0880",
469-
"0889"
491+
"0883",
492+
"0884",
493+
"0888",
494+
"0889",
495+
"0892",
496+
"0896",
497+
"0897"
470498
]
471499
},
472500
{
473501
"text": "0900-0999",
474502
"collapsible": true,
475503
"children": [
476504
"0901",
505+
"0905",
477506
"0909",
478507
"0918",
479508
"0921",

‎src/book/graph.md

Copy file name to clipboardExpand all lines: src/book/graph.md
+1-1Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@
5757
| 752 | 打开转盘锁 | | [`广度优先搜索`](/tag/breadth-first-search.md) [`数组`](/tag/array.md) [`哈希表`](/tag/hash-table.md) `1+` | 🟠 | [🀄️](https://leetcode.cn/problems/open-the-lock) [🔗](https://leetcode.com/problems/open-the-lock) |
5858
| 279 | 完全平方数 | [[]](/problem/0279.md) | [`广度优先搜索`](/tag/breadth-first-search.md) [`数学`](/tag/math.md) [`动态规划`](/tag/dynamic-programming.md) | 🟠 | [🀄️](https://leetcode.cn/problems/perfect-squares) [🔗](https://leetcode.com/problems/perfect-squares) |
5959
| 133 | 克隆图 | [[]](/problem/0133.md) | [`深度优先搜索`](/tag/depth-first-search.md) [`广度优先搜索`](/tag/breadth-first-search.md) [``](/tag/graph.md) `1+` | 🟠 | [🀄️](https://leetcode.cn/problems/clone-graph) [🔗](https://leetcode.com/problems/clone-graph) |
60-
| 733 | 图像渲染 | | [`深度优先搜索`](/tag/depth-first-search.md) [`广度优先搜索`](/tag/breadth-first-search.md) [`数组`](/tag/array.md) `1+` | 🟢 | [🀄️](https://leetcode.cn/problems/flood-fill) [🔗](https://leetcode.com/problems/flood-fill) |
60+
| 733 | 图像渲染 | [[]](/problem/0733.md) | [`深度优先搜索`](/tag/depth-first-search.md) [`广度优先搜索`](/tag/breadth-first-search.md) [`数组`](/tag/array.md) `1+` | 🟢 | [🀄️](https://leetcode.cn/problems/flood-fill) [🔗](https://leetcode.com/problems/flood-fill) |
6161
| 542 | 01 矩阵 | | [`广度优先搜索`](/tag/breadth-first-search.md) [`数组`](/tag/array.md) [`动态规划`](/tag/dynamic-programming.md) `1+` | 🟠 | [🀄️](https://leetcode.cn/problems/01-matrix) [🔗](https://leetcode.com/problems/01-matrix) |
6262
| 322 | 零钱兑换 | [[]](/problem/0322.md) | [`广度优先搜索`](/tag/breadth-first-search.md) [`数组`](/tag/array.md) [`动态规划`](/tag/dynamic-programming.md) | 🟠 | [🀄️](https://leetcode.cn/problems/coin-change) [🔗](https://leetcode.com/problems/coin-change) |
6363
| 323 | 无向图中连通分量的数目 🔒 | | [`深度优先搜索`](/tag/depth-first-search.md) [`广度优先搜索`](/tag/breadth-first-search.md) [`并查集`](/tag/union-find.md) `1+` | 🟠 | [🀄️](https://leetcode.cn/problems/number-of-connected-components-in-an-undirected-graph) [🔗](https://leetcode.com/problems/number-of-connected-components-in-an-undirected-graph) |

‎src/book/greedy.md

Copy file name to clipboardExpand all lines: src/book/greedy.md
+1-1Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@
2323
| 题号 | 标题 | 题解 | 标签 | 难度 | 力扣 |
2424
| :------: | :------ | :------: | :------ | :------: | :------: |
2525
| 455 | 分发饼干 | [[]](/problem/0455.md) | [`贪心`](/tag/greedy.md) [`数组`](/tag/array.md) [`双指针`](/tag/two-pointers.md) `1+` | 🟢 | [🀄️](https://leetcode.cn/problems/assign-cookies) [🔗](https://leetcode.com/problems/assign-cookies) |
26-
| 860 | 柠檬水找零 | | [`贪心`](/tag/greedy.md) [`数组`](/tag/array.md) | 🟢 | [🀄️](https://leetcode.cn/problems/lemonade-change) [🔗](https://leetcode.com/problems/lemonade-change) |
26+
| 860 | 柠檬水找零 | [[]](/problem/0860.md) | [`贪心`](/tag/greedy.md) [`数组`](/tag/array.md) | 🟢 | [🀄️](https://leetcode.cn/problems/lemonade-change) [🔗](https://leetcode.com/problems/lemonade-change) |
2727
| 56 | 合并区间 | [[]](/problem/0056.md) | [`数组`](/tag/array.md) [`排序`](/tag/sorting.md) | 🟠 | [🀄️](https://leetcode.cn/problems/merge-intervals) [🔗](https://leetcode.com/problems/merge-intervals) |
2828
| 435 | 无重叠区间 | [[]](/problem/0435.md) | [`贪心`](/tag/greedy.md) [`数组`](/tag/array.md) [`动态规划`](/tag/dynamic-programming.md) `1+` | 🟠 | [🀄️](https://leetcode.cn/problems/non-overlapping-intervals) [🔗](https://leetcode.com/problems/non-overlapping-intervals) |
2929
| 452 | 用最少数量的箭引爆气球 | [[]](/problem/0452.md) | [`贪心`](/tag/greedy.md) [`数组`](/tag/array.md) [`排序`](/tag/sorting.md) | 🟠 | [🀄️](https://leetcode.cn/problems/minimum-number-of-arrows-to-burst-balloons) [🔗](https://leetcode.com/problems/minimum-number-of-arrows-to-burst-balloons) |

‎src/image/812.png

Copy file name to clipboard
22 KB
Loading

‎src/plan/company_list.md

Copy file name to clipboardExpand all lines: src/plan/company_list.md
+1-1Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -136,7 +136,7 @@ headerDepth: 0
136136
| 33 | 搜索旋转排序数组 | [[]](/problem/0033.md) | [`数组`](/tag/array.md) [`二分查找`](/tag/binary-search.md) | 🟠 | [🀄️](https://leetcode.cn/problems/search-in-rotated-sorted-array) [🔗](https://leetcode.com/problems/search-in-rotated-sorted-array) | 14 |
137137
| 308 | 二维区域和检索 - 矩阵可修改 🔒 | | [`设计`](/tag/design.md) [`树状数组`](/tag/binary-indexed-tree.md) [`线段树`](/tag/segment-tree.md) `2+` | 🔴 | [🀄️](https://leetcode.cn/problems/range-sum-query-2d-mutable) [🔗](https://leetcode.com/problems/range-sum-query-2d-mutable) | 13 |
138138
| 309 | 买卖股票的最佳时机含冷冻期 | [[]](/problem/0309.md) | [`数组`](/tag/array.md) [`动态规划`](/tag/dynamic-programming.md) | 🟠 | [🀄️](https://leetcode.cn/problems/best-time-to-buy-and-sell-stock-with-cooldown) [🔗](https://leetcode.com/problems/best-time-to-buy-and-sell-stock-with-cooldown) | 12 |
139-
| 867 | 转置矩阵 | | [`数组`](/tag/array.md) [`矩阵`](/tag/matrix.md) [`模拟`](/tag/simulation.md) | 🟢 | [🀄️](https://leetcode.cn/problems/transpose-matrix) [🔗](https://leetcode.com/problems/transpose-matrix) | 12 |
139+
| 867 | 转置矩阵 | [[]](/problem/0867.md) | [`数组`](/tag/array.md) [`矩阵`](/tag/matrix.md) [`模拟`](/tag/simulation.md) | 🟢 | [🀄️](https://leetcode.cn/problems/transpose-matrix) [🔗](https://leetcode.com/problems/transpose-matrix) | 12 |
140140
| 295 | 数据流的中位数 | [[]](/problem/0295.md) | [`设计`](/tag/design.md) [`双指针`](/tag/two-pointers.md) [`数据流`](/tag/data-stream.md) `2+` | 🔴 | [🀄️](https://leetcode.cn/problems/find-median-from-data-stream) [🔗](https://leetcode.com/problems/find-median-from-data-stream) | 12 |
141141
| 135 | 分发糖果 | [[]](/problem/0135.md) | [`贪心`](/tag/greedy.md) [`数组`](/tag/array.md) | 🔴 | [🀄️](https://leetcode.cn/problems/candy) [🔗](https://leetcode.com/problems/candy) | 11 |
142142
| 560 | 和为 K 的子数组 | [[]](/problem/0560.md) | [`数组`](/tag/array.md) [`哈希表`](/tag/hash-table.md) [`前缀和`](/tag/prefix-sum.md) | 🟠 | [🀄️](https://leetcode.cn/problems/subarray-sum-equals-k) [🔗](https://leetcode.com/problems/subarray-sum-equals-k) | 11 |

0 commit comments

Comments
0 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.