Skip to content

Commit 9a7155e

Browse files
committed
add 10 solutions
1 parent 29393dc commit 9a7155e

40 files changed

+2286
-71
lines changed

src/.vuepress/sidebar.ts

Lines changed: 13 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -387,6 +387,7 @@ export default sidebar({
387387
"0852",
388388
"0862",
389389
"0872",
390+
"0875",
390391
"0876",
391392
"0880",
392393
"0889"
@@ -444,6 +445,7 @@ export default sidebar({
444445
"children": [
445446
"1207",
446447
"1233",
448+
"1268",
447449
"1277",
448450
"1288"
449451
]
@@ -504,6 +506,7 @@ export default sidebar({
504506
"collapsible": true,
505507
"children": [
506508
"1732",
509+
"1760",
507510
"1768"
508511
]
509512
},
@@ -520,6 +523,7 @@ export default sidebar({
520523
"text": "1900-1999",
521524
"collapsible": true,
522525
"children": [
526+
"1926",
523527
"1942",
524528
"1957",
525529
"1963",
@@ -531,6 +535,7 @@ export default sidebar({
531535
"collapsible": true,
532536
"children": [
533537
"2044",
538+
"2054",
534539
"2064",
535540
"2070",
536541
"2095",
@@ -564,6 +569,9 @@ export default sidebar({
564569
"text": "2300-2399",
565570
"collapsible": true,
566571
"children": [
572+
"2300",
573+
"2336",
574+
"2337",
567575
"2352",
568576
"2390"
569577
]
@@ -576,6 +584,7 @@ export default sidebar({
576584
"2416",
577585
"2458",
578586
"2461",
587+
"2462",
579588
"2463",
580589
"2490",
581590
"2491"
@@ -588,6 +597,8 @@ export default sidebar({
588597
"2501",
589598
"2516",
590599
"2530",
600+
"2542",
601+
"2554",
591602
"2563",
592603
"2577",
593604
"2583"
@@ -680,7 +691,8 @@ export default sidebar({
680691
"2805",
681692
"2821",
682693
"2822",
683-
"2823"
694+
"2823",
695+
"2825"
684696
]
685697
},
686698
{

src/book/binary_search.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -246,7 +246,7 @@ function bsearch(arr, value) {
246246
<!-- prettier-ignore -->
247247
| 题号 | 标题 | 题解 | 标签 | 难度 | 力扣 |
248248
| :------: | :------ | :------: | :------ | :------: | :------: |
249-
| 875 | 爱吃香蕉的珂珂 | | [`数组`](/tag/array.md) [`二分查找`](/tag/binary-search.md) | 🟠 | [🀄️](https://leetcode.cn/problems/koko-eating-bananas) [🔗](https://leetcode.com/problems/koko-eating-bananas) |
249+
| 875 | 爱吃香蕉的珂珂 | [[]](/problem/0875.md) | [`数组`](/tag/array.md) [`二分查找`](/tag/binary-search.md) | 🟠 | [🀄️](https://leetcode.cn/problems/koko-eating-bananas) [🔗](https://leetcode.com/problems/koko-eating-bananas) |
250250
| 410 | 分割数组的最大值 | | [`贪心`](/tag/greedy.md) [`数组`](/tag/array.md) [`二分查找`](/tag/binary-search.md) `2+` | 🔴 | [🀄️](https://leetcode.cn/problems/split-array-largest-sum) [🔗](https://leetcode.com/problems/split-array-largest-sum) |
251251
| 209 | 长度最小的子数组 | [[]](/problem/0209.md) | [`数组`](/tag/array.md) [`二分查找`](/tag/binary-search.md) [`前缀和`](/tag/prefix-sum.md) `1+` | 🟠 | [🀄️](https://leetcode.cn/problems/minimum-size-subarray-sum) [🔗](https://leetcode.com/problems/minimum-size-subarray-sum) |
252252
| 658 | 找到 K 个最接近的元素 | | [`数组`](/tag/array.md) [`双指针`](/tag/two-pointers.md) [`二分查找`](/tag/binary-search.md) `3+` | 🟠 | [🀄️](https://leetcode.cn/problems/find-k-closest-elements) [🔗](https://leetcode.com/problems/find-k-closest-elements) |

src/image/790.png

31.2 KB
Loading

src/plan/company_list.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,7 @@ headerDepth: 0
6363
| 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) | 20 |
6464
| 138 | 随机链表的复制 | [[]](/problem/0138.md) | [`哈希表`](/tag/hash-table.md) [`链表`](/tag/linked-list.md) | 🟠 | [🀄️](https://leetcode.cn/problems/copy-list-with-random-pointer) [🔗](https://leetcode.com/problems/copy-list-with-random-pointer) | 19 |
6565
| 124 | 二叉树中的最大路径和 | [[]](/problem/0124.md) | [``](/tag/tree.md) [`深度优先搜索`](/tag/depth-first-search.md) [`动态规划`](/tag/dynamic-programming.md) `1+` | 🔴 | [🀄️](https://leetcode.cn/problems/binary-tree-maximum-path-sum) [🔗](https://leetcode.com/problems/binary-tree-maximum-path-sum) | 19 |
66-
| 1268 | 搜索推荐系统 | | [`字典树`](/tag/trie.md) [`数组`](/tag/array.md) [`字符串`](/tag/string.md) `3+` | 🟠 | [🀄️](https://leetcode.cn/problems/search-suggestions-system) [🔗](https://leetcode.com/problems/search-suggestions-system) | 18 |
66+
| 1268 | 搜索推荐系统 | [[]](/problem/1268.md) | [`字典树`](/tag/trie.md) [`数组`](/tag/array.md) [`字符串`](/tag/string.md) `3+` | 🟠 | [🀄️](https://leetcode.cn/problems/search-suggestions-system) [🔗](https://leetcode.com/problems/search-suggestions-system) | 18 |
6767
| 953 | 验证外星语词典 | | [`数组`](/tag/array.md) [`哈希表`](/tag/hash-table.md) [`字符串`](/tag/string.md) | 🟢 | [🀄️](https://leetcode.cn/problems/verifying-an-alien-dictionary) [🔗](https://leetcode.com/problems/verifying-an-alien-dictionary) | 18 |
6868
| 973 | 最接近原点的 K 个点 | [[]](/problem/0973.md) | [`几何`](/tag/geometry.md) [`数组`](/tag/array.md) [`数学`](/tag/math.md) `4+` | 🟠 | [🀄️](https://leetcode.cn/problems/k-closest-points-to-origin) [🔗](https://leetcode.com/problems/k-closest-points-to-origin) | 18 |
6969
| 29 | 两数相除 | [[]](/problem/0029.md) | [`位运算`](/tag/bit-manipulation.md) [`数学`](/tag/math.md) | 🟠 | [🀄️](https://leetcode.cn/problems/divide-two-integers) [🔗](https://leetcode.com/problems/divide-two-integers) | 18 |

0 commit comments

Comments
 (0)