Skip to content

Commit 58c2ac8

Browse files
committed
add 2259~2262
1 parent 9a42764 commit 58c2ac8

29 files changed

+507
-439
lines changed

assets/output/0061.md

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

assets/output/0082.md

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

assets/output/0086.md

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

assets/output/2260.md

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

assets/output/2261.md

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

assets/output/2262.md

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

src/.vuepress/sidebar.ts

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -414,6 +414,16 @@ export default sidebar({
414414
"2196"
415415
],
416416
},
417+
{
418+
text: "2200-2299",
419+
collapsible: true,
420+
children: [
421+
"2259",
422+
"2260",
423+
"2261",
424+
"2262"
425+
],
426+
},
417427
{
418428
text: "面试题",
419429
collapsible: true,

src/leetcode/outline/solution_list.md

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

3-
已完成 327
3+
已完成 331
44

55
| 题号 | 标题 | 题解 | 标签 | 难度 |
66
| :------: | :------ | :------: | :------ | :------ |
@@ -276,6 +276,10 @@
276276
| 1475 | [商品折扣后的最终价格](https://leetcode.com/problems/final-prices-with-a-special-discount-in-a-shop/) | [JS](https://2xiao.github.io/leetcode-js/leetcode/problem/1475) | [``](/leetcode/outline/tag/stack.md) [`数组`](/leetcode/outline/tag/array.md) [`单调栈`](/leetcode/outline/tag/monotonic-stack.md) | <font color=#15bd66>Easy</font> |
277277
| 1522 | [N 叉树的直径](https://leetcode.com/problems/diameter-of-n-ary-tree/) | [JS](https://2xiao.github.io/leetcode-js/leetcode/problem/1522) | [``](/leetcode/outline/tag/tree.md) [`深度优先搜索`](/leetcode/outline/tag/depth-first-search.md) | <font color=#ffb800>Medium</font> |
278278
| 2196 | [根据描述创建二叉树](https://leetcode.com/problems/create-binary-tree-from-descriptions/) | [JS](https://2xiao.github.io/leetcode-js/leetcode/problem/2196) | [``](/leetcode/outline/tag/tree.md) [`深度优先搜索`](/leetcode/outline/tag/depth-first-search.md) [`广度优先搜索`](/leetcode/outline/tag/breadth-first-search.md) `3+` | <font color=#ffb800>Medium</font> |
279+
| 2259 | [移除指定数字得到的最大结果](https://leetcode.com/problems/remove-digit-from-number-to-maximize-result/) | [JS](https://2xiao.github.io/leetcode-js/leetcode/problem/2259) | [`贪心`](/leetcode/outline/tag/greedy.md) [`字符串`](/leetcode/outline/tag/string.md) [`枚举`](/leetcode/outline/tag/enumeration.md) | <font color=#15bd66>Easy</font> |
280+
| 2260 | [必须拿起的最小连续卡牌数](https://leetcode.com/problems/minimum-consecutive-cards-to-pick-up/) | [JS](https://2xiao.github.io/leetcode-js/leetcode/problem/2260) | [`数组`](/leetcode/outline/tag/array.md) [`哈希表`](/leetcode/outline/tag/hash-table.md) [`滑动窗口`](/leetcode/outline/tag/sliding-window.md) | <font color=#ffb800>Medium</font> |
281+
| 2261 | [含最多 K 个可整除元素的子数组](https://leetcode.com/problems/k-divisible-elements-subarrays/) | [JS](https://2xiao.github.io/leetcode-js/leetcode/problem/2261) | [`字典树`](/leetcode/outline/tag/trie.md) [`数组`](/leetcode/outline/tag/array.md) [`哈希表`](/leetcode/outline/tag/hash-table.md) `3+` | <font color=#ffb800>Medium</font> |
282+
| 2262 | [字符串的总引力](https://leetcode.com/problems/total-appeal-of-a-string/) | [JS](https://2xiao.github.io/leetcode-js/leetcode/problem/2262) | [`哈希表`](/leetcode/outline/tag/hash-table.md) [`字符串`](/leetcode/outline/tag/string.md) [`动态规划`](/leetcode/outline/tag/dynamic-programming.md) | <font color=#ff334b>Hard</font> |
279283
| 剑指 Offer 03 | [数组中重复的数字](https://leetcode.cn/problems/shu-zu-zhong-zhong-fu-de-shu-zi-lcof/) | [JS](https://2xiao.github.io/leetcode-js/leetcode/problem/jz_offer_03_1) | [`数组`](/leetcode/outline/tag/array.md) [`哈希表`](/leetcode/outline/tag/hash-table.md) [`排序`](/leetcode/outline/tag/sorting.md) | <font color=#15bd66>Easy</font> |
280284
| 剑指 Offer 04 | [二维数组中的查找](https://leetcode.cn/problems/er-wei-shu-zu-zhong-de-cha-zhao-lcof/) | [JS](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> |
281285
| 剑指 Offer 05 | [替换空格](https://leetcode.cn/problems/ti-huan-kong-ge-lcof/) | [JS](https://2xiao.github.io/leetcode-js/leetcode/problem/jz_offer_05_1) | [`字符串`](/leetcode/outline/tag/string.md) | <font color=#15bd66>Easy</font> |

src/leetcode/outline/tag/array.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1139,8 +1139,8 @@
11391139
| 2256 | [最小平均差](https://leetcode.com/problems/minimum-average-difference/) | | [`数组`](/leetcode/outline/tag/array.md) [`前缀和`](/leetcode/outline/tag/prefix-sum.md) | <font color=#ffb800>Medium</font> |
11401140
| 2257 | [统计网格图中没有被保卫的格子数](https://leetcode.com/problems/count-unguarded-cells-in-the-grid/) | | [`数组`](/leetcode/outline/tag/array.md) [`矩阵`](/leetcode/outline/tag/matrix.md) [`模拟`](/leetcode/outline/tag/simulation.md) | <font color=#ffb800>Medium</font> |
11411141
| 2258 | [逃离火灾](https://leetcode.com/problems/escape-the-spreading-fire/) | | [`广度优先搜索`](/leetcode/outline/tag/breadth-first-search.md) [`数组`](/leetcode/outline/tag/array.md) [`二分查找`](/leetcode/outline/tag/binary-search.md) `1+` | <font color=#ff334b>Hard</font> |
1142-
| 2260 | [必须拿起的最小连续卡牌数](https://leetcode.com/problems/minimum-consecutive-cards-to-pick-up/) | | [`数组`](/leetcode/outline/tag/array.md) [`哈希表`](/leetcode/outline/tag/hash-table.md) [`滑动窗口`](/leetcode/outline/tag/sliding-window.md) | <font color=#ffb800>Medium</font> |
1143-
| 2261 | [含最多 K 个可整除元素的子数组](https://leetcode.com/problems/k-divisible-elements-subarrays/) | | [`字典树`](/leetcode/outline/tag/trie.md) [`数组`](/leetcode/outline/tag/array.md) [`哈希表`](/leetcode/outline/tag/hash-table.md) `3+` | <font color=#ffb800>Medium</font> |
1142+
| 2260 | [必须拿起的最小连续卡牌数](https://leetcode.com/problems/minimum-consecutive-cards-to-pick-up/) | [JS](https://2xiao.github.io/leetcode-js/leetcode/problem/2260) | [`数组`](/leetcode/outline/tag/array.md) [`哈希表`](/leetcode/outline/tag/hash-table.md) [`滑动窗口`](/leetcode/outline/tag/sliding-window.md) | <font color=#ffb800>Medium</font> |
1143+
| 2261 | [含最多 K 个可整除元素的子数组](https://leetcode.com/problems/k-divisible-elements-subarrays/) | [JS](https://2xiao.github.io/leetcode-js/leetcode/problem/2261) | [`字典树`](/leetcode/outline/tag/trie.md) [`数组`](/leetcode/outline/tag/array.md) [`哈希表`](/leetcode/outline/tag/hash-table.md) `3+` | <font color=#ffb800>Medium</font> |
11441144
| 2267 | [检查是否有合法括号字符串路径](https://leetcode.com/problems/check-if-there-is-a-valid-parentheses-string-path/) | | [`数组`](/leetcode/outline/tag/array.md) [`动态规划`](/leetcode/outline/tag/dynamic-programming.md) [`矩阵`](/leetcode/outline/tag/matrix.md) | <font color=#ff334b>Hard</font> |
11451145
| 2268 | [最少按键次数](https://leetcode.com/problems/minimum-number-of-keypresses/) | | [`贪心`](/leetcode/outline/tag/greedy.md) [`数组`](/leetcode/outline/tag/array.md) [`字符串`](/leetcode/outline/tag/string.md) `2+` | <font color=#ffb800>Medium</font> |
11461146
| 2270 | [分割数组的方案数](https://leetcode.com/problems/number-of-ways-to-split-array/) | | [`数组`](/leetcode/outline/tag/array.md) [`前缀和`](/leetcode/outline/tag/prefix-sum.md) | <font color=#ffb800>Medium</font> |

0 commit comments

Comments
 (0)