Skip to content

Commit 62fe057

Browse files
committed
fix some router bug
1 parent 1d11278 commit 62fe057

File tree

1,134 files changed

+5692
-5439
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

1,134 files changed

+5692
-5439
lines changed

assets/output/0001.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -131,11 +131,11 @@ time complexity?
131131
<!-- prettier-ignore -->
132132
| 题号 | 标题 | 题解 | 标签 | 难度 |
133133
| :------: | :------ | :------: | :------ | :------ |
134-
| 15 | [三数之和](https://leetcode.com/problems/3sum) | [[]](/problem/0015) | [`数组`](/outline/tag/array.md) [`双指针`](/outline/tag/two-pointers.md) [`排序`](/outline/tag/sorting.md) | <font color=#ffb800>Medium</font> |
135-
| 18 | [四数之和](https://leetcode.com/problems/4sum) | [[]](/problem/0018) | [`数组`](/outline/tag/array.md) [`双指针`](/outline/tag/two-pointers.md) [`排序`](/outline/tag/sorting.md) | <font color=#ffb800>Medium</font> |
136-
| 167 | [两数之和 II - 输入有序数组](https://leetcode.com/problems/two-sum-ii-input-array-is-sorted) | [[]](/problem/0167) | [`数组`](/outline/tag/array.md) [`双指针`](/outline/tag/two-pointers.md) [`二分查找`](/outline/tag/binary-search.md) | <font color=#ffb800>Medium</font> |
134+
| 15 | [三数之和](https://leetcode.com/problems/3sum) | [[]](/problem/0015.md) | [`数组`](/outline/tag/array.md) [`双指针`](/outline/tag/two-pointers.md) [`排序`](/outline/tag/sorting.md) | <font color=#ffb800>Medium</font> |
135+
| 18 | [四数之和](https://leetcode.com/problems/4sum) | [[]](/problem/0018.md) | [`数组`](/outline/tag/array.md) [`双指针`](/outline/tag/two-pointers.md) [`排序`](/outline/tag/sorting.md) | <font color=#ffb800>Medium</font> |
136+
| 167 | [两数之和 II - 输入有序数组](https://leetcode.com/problems/two-sum-ii-input-array-is-sorted) | [[]](/problem/0167.md) | [`数组`](/outline/tag/array.md) [`双指针`](/outline/tag/two-pointers.md) [`二分查找`](/outline/tag/binary-search.md) | <font color=#ffb800>Medium</font> |
137137
| 170 | [两数之和 III - 数据结构设计](https://leetcode.com/problems/two-sum-iii-data-structure-design) | | [`设计`](/outline/tag/design.md) [`数组`](/outline/tag/array.md) [`哈希表`](/outline/tag/hash-table.md) `2+` | <font color=#15bd66>Easy</font> |
138-
| 560 | [和为 K 的子数组](https://leetcode.com/problems/subarray-sum-equals-k) | [[]](/problem/0560) | [`数组`](/outline/tag/array.md) [`哈希表`](/outline/tag/hash-table.md) [`前缀和`](/outline/tag/prefix-sum.md) | <font color=#ffb800>Medium</font> |
138+
| 560 | [和为 K 的子数组](https://leetcode.com/problems/subarray-sum-equals-k) | [[]](/problem/0560.md) | [`数组`](/outline/tag/array.md) [`哈希表`](/outline/tag/hash-table.md) [`前缀和`](/outline/tag/prefix-sum.md) | <font color=#ffb800>Medium</font> |
139139
| 653 | [两数之和 IV - 输入二叉搜索树](https://leetcode.com/problems/two-sum-iv-input-is-a-bst) | | [``](/outline/tag/tree.md) [`深度优先搜索`](/outline/tag/depth-first-search.md) [`广度优先搜索`](/outline/tag/breadth-first-search.md) `4+` | <font color=#15bd66>Easy</font> |
140140
| 1099 | [小于 K 的两数之和](https://leetcode.com/problems/two-sum-less-than-k) | | [`数组`](/outline/tag/array.md) [`双指针`](/outline/tag/two-pointers.md) [`二分查找`](/outline/tag/binary-search.md) `1+` | <font color=#15bd66>Easy</font> |
141141
| 1679 | [K 和数对的最大数目](https://leetcode.com/problems/max-number-of-k-sum-pairs) | | [`数组`](/outline/tag/array.md) [`哈希表`](/outline/tag/hash-table.md) [`双指针`](/outline/tag/two-pointers.md) `1+` | <font color=#ffb800>Medium</font> |

assets/output/0002.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -124,11 +124,11 @@ upload/uploads/2021/01/02/addtwonumber1.jpg)
124124
<!-- prettier-ignore -->
125125
| 题号 | 标题 | 题解 | 标签 | 难度 |
126126
| :------: | :------ | :------: | :------ | :------ |
127-
| 43 | [字符串相乘](https://leetcode.com/problems/multiply-strings) | [[]](/problem/0043) | [`数学`](/outline/tag/math.md) [`字符串`](/outline/tag/string.md) [`模拟`](/outline/tag/simulation.md) | <font color=#ffb800>Medium</font> |
128-
| 67 | [二进制求和](https://leetcode.com/problems/add-binary) | [[]](/problem/0067) | [`位运算`](/outline/tag/bit-manipulation.md) [`数学`](/outline/tag/math.md) [`字符串`](/outline/tag/string.md) `1+` | <font color=#15bd66>Easy</font> |
127+
| 43 | [字符串相乘](https://leetcode.com/problems/multiply-strings) | [[]](/problem/0043.md) | [`数学`](/outline/tag/math.md) [`字符串`](/outline/tag/string.md) [`模拟`](/outline/tag/simulation.md) | <font color=#ffb800>Medium</font> |
128+
| 67 | [二进制求和](https://leetcode.com/problems/add-binary) | [[]](/problem/0067.md) | [`位运算`](/outline/tag/bit-manipulation.md) [`数学`](/outline/tag/math.md) [`字符串`](/outline/tag/string.md) `1+` | <font color=#15bd66>Easy</font> |
129129
| 371 | [两整数之和](https://leetcode.com/problems/sum-of-two-integers) | | [`位运算`](/outline/tag/bit-manipulation.md) [`数学`](/outline/tag/math.md) | <font color=#ffb800>Medium</font> |
130-
| 415 | [字符串相加](https://leetcode.com/problems/add-strings) | [[]](/problem/0415) | [`数学`](/outline/tag/math.md) [`字符串`](/outline/tag/string.md) [`模拟`](/outline/tag/simulation.md) | <font color=#15bd66>Easy</font> |
131-
| 445 | [两数相加 II](https://leetcode.com/problems/add-two-numbers-ii) | [[]](/problem/0445) | [``](/outline/tag/stack.md) [`链表`](/outline/tag/linked-list.md) [`数学`](/outline/tag/math.md) | <font color=#ffb800>Medium</font> |
130+
| 415 | [字符串相加](https://leetcode.com/problems/add-strings) | [[]](/problem/0415.md) | [`数学`](/outline/tag/math.md) [`字符串`](/outline/tag/string.md) [`模拟`](/outline/tag/simulation.md) | <font color=#15bd66>Easy</font> |
131+
| 445 | [两数相加 II](https://leetcode.com/problems/add-two-numbers-ii) | [[]](/problem/0445.md) | [``](/outline/tag/stack.md) [`链表`](/outline/tag/linked-list.md) [`数学`](/outline/tag/math.md) | <font color=#ffb800>Medium</font> |
132132
| 989 | [数组形式的整数加法](https://leetcode.com/problems/add-to-array-form-of-integer) | | [`数组`](/outline/tag/array.md) [`数学`](/outline/tag/math.md) | <font color=#15bd66>Easy</font> |
133133
| 1634 | [求两个多项式链表的和](https://leetcode.com/problems/add-two-polynomials-represented-as-linked-lists) | | [`链表`](/outline/tag/linked-list.md) [`数学`](/outline/tag/math.md) [`双指针`](/outline/tag/two-pointers.md) | <font color=#ffb800>Medium</font> |
134134
| 2816 | [翻倍以链表形式表示的数字](https://leetcode.com/problems/double-a-number-represented-as-a-linked-list) | | [``](/outline/tag/stack.md) [`链表`](/outline/tag/linked-list.md) [`数学`](/outline/tag/math.md) | <font color=#ffb800>Medium</font> |

assets/output/0003.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -126,7 +126,7 @@ repeating characters.
126126
| 992 | [K 个不同整数的子数组](https://leetcode.com/problems/subarrays-with-k-different-integers) | | [`数组`](/outline/tag/array.md) [`哈希表`](/outline/tag/hash-table.md) [`计数`](/outline/tag/counting.md) `1+` | <font color=#ff334b>Hard</font> |
127127
| 1695 | [删除子数组的最大得分](https://leetcode.com/problems/maximum-erasure-value) | | [`数组`](/outline/tag/array.md) [`哈希表`](/outline/tag/hash-table.md) [`滑动窗口`](/outline/tag/sliding-window.md) | <font color=#ffb800>Medium</font> |
128128
| 2067 | [等计数子串的数量](https://leetcode.com/problems/number-of-equal-count-substrings) | | [`字符串`](/outline/tag/string.md) [`计数`](/outline/tag/counting.md) [`前缀和`](/outline/tag/prefix-sum.md) | <font color=#ffb800>Medium</font> |
129-
| 2260 | [必须拿起的最小连续卡牌数](https://leetcode.com/problems/minimum-consecutive-cards-to-pick-up) | [[]](/problem/2260) | [`数组`](/outline/tag/array.md) [`哈希表`](/outline/tag/hash-table.md) [`滑动窗口`](/outline/tag/sliding-window.md) | <font color=#ffb800>Medium</font> |
129+
| 2260 | [必须拿起的最小连续卡牌数](https://leetcode.com/problems/minimum-consecutive-cards-to-pick-up) | [[]](/problem/2260.md) | [`数组`](/outline/tag/array.md) [`哈希表`](/outline/tag/hash-table.md) [`滑动窗口`](/outline/tag/sliding-window.md) | <font color=#ffb800>Medium</font> |
130130
| 2401 | [最长优雅子数组](https://leetcode.com/problems/longest-nice-subarray) | | [`位运算`](/outline/tag/bit-manipulation.md) [`数组`](/outline/tag/array.md) [`滑动窗口`](/outline/tag/sliding-window.md) | <font color=#ffb800>Medium</font> |
131131
| 2405 | [子字符串的最优划分](https://leetcode.com/problems/optimal-partition-of-string) | | [`贪心`](/outline/tag/greedy.md) [`哈希表`](/outline/tag/hash-table.md) [`字符串`](/outline/tag/string.md) | <font color=#ffb800>Medium</font> |
132132
| 2799 | [统计完全子数组的数目](https://leetcode.com/problems/count-complete-subarrays-in-an-array) | | [`数组`](/outline/tag/array.md) [`哈希表`](/outline/tag/hash-table.md) [`滑动窗口`](/outline/tag/sliding-window.md) | <font color=#ffb800>Medium</font> |

assets/output/0005.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -91,7 +91,7 @@ Given a string `s`, return _the longest_ _palindromic_ _substring_ in `s`.
9191
| 214 | [最短回文串](https://leetcode.com/problems/shortest-palindrome) | | [`字符串`](/outline/tag/string.md) [`字符串匹配`](/outline/tag/string-matching.md) [`哈希函数`](/outline/tag/hash-function.md) `1+` | <font color=#ff334b>Hard</font> |
9292
| 266 | [回文排列](https://leetcode.com/problems/palindrome-permutation) | | [`位运算`](/outline/tag/bit-manipulation.md) [`哈希表`](/outline/tag/hash-table.md) [`字符串`](/outline/tag/string.md) | <font color=#15bd66>Easy</font> |
9393
| 336 | [回文对](https://leetcode.com/problems/palindrome-pairs) | | [`字典树`](/outline/tag/trie.md) [`数组`](/outline/tag/array.md) [`哈希表`](/outline/tag/hash-table.md) `1+` | <font color=#ff334b>Hard</font> |
94-
| 516 | [最长回文子序列](https://leetcode.com/problems/longest-palindromic-subsequence) | [[]](/problem/0516) | [`字符串`](/outline/tag/string.md) [`动态规划`](/outline/tag/dynamic-programming.md) | <font color=#ffb800>Medium</font> |
94+
| 516 | [最长回文子序列](https://leetcode.com/problems/longest-palindromic-subsequence) | [[]](/problem/0516.md) | [`字符串`](/outline/tag/string.md) [`动态规划`](/outline/tag/dynamic-programming.md) | <font color=#ffb800>Medium</font> |
9595
| 647 | [回文子串](https://leetcode.com/problems/palindromic-substrings) | | [`双指针`](/outline/tag/two-pointers.md) [`字符串`](/outline/tag/string.md) [`动态规划`](/outline/tag/dynamic-programming.md) | <font color=#ffb800>Medium</font> |
9696
| 2472 | [不重叠回文子字符串的最大数目](https://leetcode.com/problems/maximum-number-of-non-overlapping-palindrome-substrings) | | [`贪心`](/outline/tag/greedy.md) [`双指针`](/outline/tag/two-pointers.md) [`字符串`](/outline/tag/string.md) `1+` | <font color=#ff334b>Hard</font> |
9797

assets/output/0007.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -119,8 +119,8 @@ or unsigned).**
119119
<!-- prettier-ignore -->
120120
| 题号 | 标题 | 题解 | 标签 | 难度 |
121121
| :------: | :------ | :------: | :------ | :------ |
122-
| 8 | [字符串转换整数 (atoi)](https://leetcode.com/problems/string-to-integer-atoi) | [[]](/problem/0008) | [`字符串`](/outline/tag/string.md) | <font color=#ffb800>Medium</font> |
123-
| 190 | [颠倒二进制位](https://leetcode.com/problems/reverse-bits) | [[]](/problem/0190) | [`位运算`](/outline/tag/bit-manipulation.md) [`分治`](/outline/tag/divide-and-conquer.md) | <font color=#15bd66>Easy</font> |
122+
| 8 | [字符串转换整数 (atoi)](https://leetcode.com/problems/string-to-integer-atoi) | [[]](/problem/0008.md) | [`字符串`](/outline/tag/string.md) | <font color=#ffb800>Medium</font> |
123+
| 190 | [颠倒二进制位](https://leetcode.com/problems/reverse-bits) | [[]](/problem/0190.md) | [`位运算`](/outline/tag/bit-manipulation.md) [`分治`](/outline/tag/divide-and-conquer.md) | <font color=#15bd66>Easy</font> |
124124
| 2119 | [反转两次的数字](https://leetcode.com/problems/a-number-after-a-double-reversal) | | [`数学`](/outline/tag/math.md) | <font color=#15bd66>Easy</font> |
125125
| 2442 | [反转之后不同整数的数目](https://leetcode.com/problems/count-number-of-distinct-integers-after-reverse-operations) | | [`数组`](/outline/tag/array.md) [`哈希表`](/outline/tag/hash-table.md) [`数学`](/outline/tag/math.md) `1+` | <font color=#ffb800>Medium</font> |
126126

assets/output/0008.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -355,7 +355,7 @@ Reading stops at the first non-digit character 'w'.
355355
<!-- prettier-ignore -->
356356
| 题号 | 标题 | 题解 | 标签 | 难度 |
357357
| :------: | :------ | :------: | :------ | :------ |
358-
| 7 | [整数反转](https://leetcode.com/problems/reverse-integer) | [[]](/problem/0007) | [`数学`](/outline/tag/math.md) | <font color=#ffb800>Medium</font> |
358+
| 7 | [整数反转](https://leetcode.com/problems/reverse-integer) | [[]](/problem/0007.md) | [`数学`](/outline/tag/math.md) | <font color=#ffb800>Medium</font> |
359359
| 65 | [有效数字](https://leetcode.com/problems/valid-number) | | [`字符串`](/outline/tag/string.md) | <font color=#ff334b>Hard</font> |
360360
| 2042 | [检查句子中的数字是否递增](https://leetcode.com/problems/check-if-numbers-are-ascending-in-a-sentence) | | [`字符串`](/outline/tag/string.md) | <font color=#15bd66>Easy</font> |
361361

assets/output/0009.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -124,7 +124,7 @@ and_`false` _otherwise_.
124124
<!-- prettier-ignore -->
125125
| 题号 | 标题 | 题解 | 标签 | 难度 |
126126
| :------: | :------ | :------: | :------ | :------ |
127-
| 234 | [回文链表](https://leetcode.com/problems/palindrome-linked-list) | [[]](/problem/0234) | [``](/outline/tag/stack.md) [`递归`](/outline/tag/recursion.md) [`链表`](/outline/tag/linked-list.md) `1+` | <font color=#15bd66>Easy</font> |
127+
| 234 | [回文链表](https://leetcode.com/problems/palindrome-linked-list) | [[]](/problem/0234.md) | [``](/outline/tag/stack.md) [`递归`](/outline/tag/recursion.md) [`链表`](/outline/tag/linked-list.md) `1+` | <font color=#15bd66>Easy</font> |
128128
| 2217 | [找到指定长度的回文数](https://leetcode.com/problems/find-palindrome-with-fixed-length) | | [`数组`](/outline/tag/array.md) [`数学`](/outline/tag/math.md) | <font color=#ffb800>Medium</font> |
129129
| 2396 | [严格回文的数字](https://leetcode.com/problems/strictly-palindromic-number) | | [`脑筋急转弯`](/outline/tag/brainteaser.md) [`数学`](/outline/tag/math.md) [`双指针`](/outline/tag/two-pointers.md) | <font color=#ffb800>Medium</font> |
130130
| 2843 | [统计对称整数的数目](https://leetcode.com/problems/count-symmetric-integers) | | [`数学`](/outline/tag/math.md) [`枚举`](/outline/tag/enumeration.md) | <font color=#15bd66>Easy</font> |

assets/output/0010.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -132,7 +132,7 @@ The matching should cover the **entire** input string (not partial).
132132
<!-- prettier-ignore -->
133133
| 题号 | 标题 | 题解 | 标签 | 难度 |
134134
| :------: | :------ | :------: | :------ | :------ |
135-
| 44 | [通配符匹配](https://leetcode.com/problems/wildcard-matching) | [[]](/problem/0044) | [`贪心`](/outline/tag/greedy.md) [`递归`](/outline/tag/recursion.md) [`字符串`](/outline/tag/string.md) `1+` | <font color=#ff334b>Hard</font> |
135+
| 44 | [通配符匹配](https://leetcode.com/problems/wildcard-matching) | [[]](/problem/0044.md) | [`贪心`](/outline/tag/greedy.md) [`递归`](/outline/tag/recursion.md) [`字符串`](/outline/tag/string.md) `1+` | <font color=#ff334b>Hard</font> |
136136

137137
<style>
138138
.blue {

assets/output/0011.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -109,7 +109,7 @@ upload/uploads/2018/07/25/question_11.jpg)
109109
<!-- prettier-ignore -->
110110
| 题号 | 标题 | 题解 | 标签 | 难度 |
111111
| :------: | :------ | :------: | :------ | :------ |
112-
| 42 | [接雨水](https://leetcode.com/problems/trapping-rain-water) | [[]](/problem/0042) | [``](/outline/tag/stack.md) [`数组`](/outline/tag/array.md) [`双指针`](/outline/tag/two-pointers.md) `2+` | <font color=#ff334b>Hard</font> |
112+
| 42 | [接雨水](https://leetcode.com/problems/trapping-rain-water) | [[]](/problem/0042.md) | [``](/outline/tag/stack.md) [`数组`](/outline/tag/array.md) [`双指针`](/outline/tag/two-pointers.md) `2+` | <font color=#ff334b>Hard</font> |
113113
| 2517 | [礼盒的最大甜蜜度](https://leetcode.com/problems/maximum-tastiness-of-candy-basket) | | [`贪心`](/outline/tag/greedy.md) [`数组`](/outline/tag/array.md) [`二分查找`](/outline/tag/binary-search.md) `1+` | <font color=#ffb800>Medium</font> |
114114
| 2560 | [打家劫舍 IV](https://leetcode.com/problems/house-robber-iv) | | [`数组`](/outline/tag/array.md) [`二分查找`](/outline/tag/binary-search.md) | <font color=#ffb800>Medium</font> |
115115

assets/output/0012.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -210,7 +210,7 @@ M | 1000
210210
<!-- prettier-ignore -->
211211
| 题号 | 标题 | 题解 | 标签 | 难度 |
212212
| :------: | :------ | :------: | :------ | :------ |
213-
| 13 | [罗马数字转整数](https://leetcode.com/problems/roman-to-integer) | [[]](/problem/0013) | [`哈希表`](/outline/tag/hash-table.md) [`数学`](/outline/tag/math.md) [`字符串`](/outline/tag/string.md) | <font color=#15bd66>Easy</font> |
213+
| 13 | [罗马数字转整数](https://leetcode.com/problems/roman-to-integer) | [[]](/problem/0013.md) | [`哈希表`](/outline/tag/hash-table.md) [`数学`](/outline/tag/math.md) [`字符串`](/outline/tag/string.md) | <font color=#15bd66>Easy</font> |
214214
| 273 | [整数转换英文表示](https://leetcode.com/problems/integer-to-english-words) | | [`递归`](/outline/tag/recursion.md) [`数学`](/outline/tag/math.md) [`字符串`](/outline/tag/string.md) | <font color=#ff334b>Hard</font> |
215215

216216
<style>

0 commit comments

Comments
 (0)