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

Sign up
Appearance settings

Commit 4c6e84f

Browse files
committed
Deploying to main from @ cf716e2 🚀
1 parent ebea3a1 commit 4c6e84f

Some content is hidden

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

64 files changed

+4118
-73
lines changed

‎plan/contest_list.md

Lines changed: 23 additions & 23 deletions
Large diffs are not rendered by default.

‎problem/0049.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -134,5 +134,5 @@ var encode = function (str) {
134134
| :------: | :------ | :------: | :------ | :------: | :------: |
135135
| 242 | 有效的字母异位词 | [[]](/problem/0242.md) | [`哈希表`](/tag/hash-table.md) [`字符串`](/tag/string.md) [`排序`](/tag/sorting.md) | 🟢 | [🀄️](https://leetcode.cn/problems/valid-anagram) [🔗](https://leetcode.com/problems/valid-anagram) |
136136
| 249 | 移位字符串分组 🔒 | | [`数组`](/tag/array.md) [`哈希表`](/tag/hash-table.md) [`字符串`](/tag/string.md) | 🟠 | [🀄️](https://leetcode.cn/problems/group-shifted-strings) [🔗](https://leetcode.com/problems/group-shifted-strings) |
137-
| 2273 | 移除字母异位词后的结果数组 | | [`数组`](/tag/array.md) [`哈希表`](/tag/hash-table.md) [`字符串`](/tag/string.md) `1+` | 🟢 | [🀄️](https://leetcode.cn/problems/find-resultant-array-after-removing-anagrams) [🔗](https://leetcode.com/problems/find-resultant-array-after-removing-anagrams) |
137+
| 2273 | 移除字母异位词后的结果数组 | [[]](/problem/2273.md) | [`数组`](/tag/array.md) [`哈希表`](/tag/hash-table.md) [`字符串`](/tag/string.md) `1+` | 🟢 | [🀄️](https://leetcode.cn/problems/find-resultant-array-after-removing-anagrams) [🔗](https://leetcode.com/problems/find-resultant-array-after-removing-anagrams) |
138138
| 2514 | 统计同位异构字符串数目 | | [`哈希表`](/tag/hash-table.md) [`数学`](/tag/math.md) [`字符串`](/tag/string.md) `2+` | 🔴 | [🀄️](https://leetcode.cn/problems/count-anagrams) [🔗](https://leetcode.com/problems/count-anagrams) |

‎problem/0162.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -99,5 +99,5 @@ var findPeakElement = function (nums) {
9999
| 852 | 山脉数组的峰顶索引 | [[]](/problem/0852.md) | [`数组`](/tag/array.md) [`二分查找`](/tag/binary-search.md) | 🟠 | [🀄️](https://leetcode.cn/problems/peak-index-in-a-mountain-array) [🔗](https://leetcode.com/problems/peak-index-in-a-mountain-array) |
100100
| 1901 | 寻找峰值 II | | [`数组`](/tag/array.md) [`二分查找`](/tag/binary-search.md) [`矩阵`](/tag/matrix.md) | 🟠 | [🀄️](https://leetcode.cn/problems/find-a-peak-element-ii) [🔗](https://leetcode.com/problems/find-a-peak-element-ii) |
101101
| 2137 | 通过倒水操作让所有的水桶所含水量相等 🔒 | | [`数组`](/tag/array.md) [`二分查找`](/tag/binary-search.md) | 🟠 | [🀄️](https://leetcode.cn/problems/pour-water-between-buckets-to-make-water-levels-equal) [🔗](https://leetcode.com/problems/pour-water-between-buckets-to-make-water-levels-equal) |
102-
| 2210 | 统计数组中峰和谷的数量 | | [`数组`](/tag/array.md) | 🟢 | [🀄️](https://leetcode.cn/problems/count-hills-and-valleys-in-an-array) [🔗](https://leetcode.com/problems/count-hills-and-valleys-in-an-array) |
102+
| 2210 | 统计数组中峰和谷的数量 | [[]](/problem/2210.md) | [`数组`](/tag/array.md) | 🟢 | [🀄️](https://leetcode.cn/problems/count-hills-and-valleys-in-an-array) [🔗](https://leetcode.com/problems/count-hills-and-valleys-in-an-array) |
103103
| 2951 | 找出峰值 | | [`数组`](/tag/array.md) [`枚举`](/tag/enumeration.md) | 🟢 | [🀄️](https://leetcode.cn/problems/find-the-peaks) [🔗](https://leetcode.com/problems/find-the-peaks) |

‎problem/0242.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -137,4 +137,4 @@ var encode = function (str) {
137137
| 49 | 字母异位词分组 | [[]](/problem/0049.md) | [`数组`](/tag/array.md) [`哈希表`](/tag/hash-table.md) [`字符串`](/tag/string.md) `1+` | 🟠 | [🀄️](https://leetcode.cn/problems/group-anagrams) [🔗](https://leetcode.com/problems/group-anagrams) |
138138
| 266 | 回文排列 🔒 | | [`位运算`](/tag/bit-manipulation.md) [`哈希表`](/tag/hash-table.md) [`字符串`](/tag/string.md) | 🟢 | [🀄️](https://leetcode.cn/problems/palindrome-permutation) [🔗](https://leetcode.com/problems/palindrome-permutation) |
139139
| 438 | 找到字符串中所有字母异位词 | [[]](/problem/0438.md) | [`哈希表`](/tag/hash-table.md) [`字符串`](/tag/string.md) [`滑动窗口`](/tag/sliding-window.md) | 🟠 | [🀄️](https://leetcode.cn/problems/find-all-anagrams-in-a-string) [🔗](https://leetcode.com/problems/find-all-anagrams-in-a-string) |
140-
| 2273 | 移除字母异位词后的结果数组 | | [`数组`](/tag/array.md) [`哈希表`](/tag/hash-table.md) [`字符串`](/tag/string.md) `1+` | 🟢 | [🀄️](https://leetcode.cn/problems/find-resultant-array-after-removing-anagrams) [🔗](https://leetcode.com/problems/find-resultant-array-after-removing-anagrams) |
140+
| 2273 | 移除字母异位词后的结果数组 | [[]](/problem/2273.md) | [`数组`](/tag/array.md) [`哈希表`](/tag/hash-table.md) [`字符串`](/tag/string.md) `1+` | 🟢 | [🀄️](https://leetcode.cn/problems/find-resultant-array-after-removing-anagrams) [🔗](https://leetcode.com/problems/find-resultant-array-after-removing-anagrams) |

‎problem/0258.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -178,6 +178,6 @@ var addDigits = function (num) {
178178
| 1085 | 最小元素各数位之和 🔒 | | [`数组`](/tag/array.md) [`数学`](/tag/math.md) | 🟢 | [🀄️](https://leetcode.cn/problems/sum-of-digits-in-the-minimum-number) [🔗](https://leetcode.com/problems/sum-of-digits-in-the-minimum-number) |
179179
| 1945 | 字符串转化后的各位数字之和 | [[]](/problem/1945.md) | [`字符串`](/tag/string.md) [`模拟`](/tag/simulation.md) | 🟢 | [🀄️](https://leetcode.cn/problems/sum-of-digits-of-string-after-convert) [🔗](https://leetcode.com/problems/sum-of-digits-of-string-after-convert) |
180180
| 2160 | 拆分数位后四位数字的最小和 | [[]](/problem/2160.md) | [`贪心`](/tag/greedy.md) [`数学`](/tag/math.md) [`排序`](/tag/sorting.md) | 🟢 | [🀄️](https://leetcode.cn/problems/minimum-sum-of-four-digit-number-after-splitting-digits) [🔗](https://leetcode.com/problems/minimum-sum-of-four-digit-number-after-splitting-digits) |
181-
| 2243 | 计算字符串的数字和 | | [`字符串`](/tag/string.md) [`模拟`](/tag/simulation.md) | 🟢 | [🀄️](https://leetcode.cn/problems/calculate-digit-sum-of-a-string) [🔗](https://leetcode.com/problems/calculate-digit-sum-of-a-string) |
181+
| 2243 | 计算字符串的数字和 | [[]](/problem/2243.md) | [`字符串`](/tag/string.md) [`模拟`](/tag/simulation.md) | 🟢 | [🀄️](https://leetcode.cn/problems/calculate-digit-sum-of-a-string) [🔗](https://leetcode.com/problems/calculate-digit-sum-of-a-string) |
182182
| 2535 | 数组元素和与数字和的绝对差 | | [`数组`](/tag/array.md) [`数学`](/tag/math.md) | 🟢 | [🀄️](https://leetcode.cn/problems/difference-between-element-sum-and-digit-sum-of-an-array) [🔗](https://leetcode.com/problems/difference-between-element-sum-and-digit-sum-of-an-array) |
183183
| 2544 | 交替数字和 | | [`数学`](/tag/math.md) | 🟢 | [🀄️](https://leetcode.cn/problems/alternating-digit-sum) [🔗](https://leetcode.com/problems/alternating-digit-sum) |

‎problem/0322.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -113,7 +113,7 @@ var coinChange = function (coins, amount) {
113113
| :------: | :------ | :------: | :------ | :------: | :------: |
114114
| 983 | 最低票价 | | [`数组`](/tag/array.md) [`动态规划`](/tag/dynamic-programming.md) | 🟠 | [🀄️](https://leetcode.cn/problems/minimum-cost-for-tickets) [🔗](https://leetcode.com/problems/minimum-cost-for-tickets) |
115115
| 2218 | 从栈中取出 K 个硬币的最大面值和 | | [`数组`](/tag/array.md) [`动态规划`](/tag/dynamic-programming.md) [`前缀和`](/tag/prefix-sum.md) | 🔴 | [🀄️](https://leetcode.cn/problems/maximum-value-of-k-coins-from-piles) [🔗](https://leetcode.com/problems/maximum-value-of-k-coins-from-piles) |
116-
| 2224 | 转化时间需要的最少操作数 | | [`贪心`](/tag/greedy.md) [`字符串`](/tag/string.md) | 🟢 | [🀄️](https://leetcode.cn/problems/minimum-number-of-operations-to-convert-time) [🔗](https://leetcode.com/problems/minimum-number-of-operations-to-convert-time) |
116+
| 2224 | 转化时间需要的最少操作数 | [[]](/problem/2224.md) | [`贪心`](/tag/greedy.md) [`字符串`](/tag/string.md) | 🟢 | [🀄️](https://leetcode.cn/problems/minimum-number-of-operations-to-convert-time) [🔗](https://leetcode.com/problems/minimum-number-of-operations-to-convert-time) |
117117
| 2547 | 拆分数组的最小代价 | | [`数组`](/tag/array.md) [`哈希表`](/tag/hash-table.md) [`动态规划`](/tag/dynamic-programming.md) `1+` | 🔴 | [🀄️](https://leetcode.cn/problems/minimum-cost-to-split-an-array) [🔗](https://leetcode.com/problems/minimum-cost-to-split-an-array) |
118118
| 2902 | 和带限制的子多重集合的数目 | | [`数组`](/tag/array.md) [`哈希表`](/tag/hash-table.md) [`动态规划`](/tag/dynamic-programming.md) `1+` | 🔴 | [🀄️](https://leetcode.cn/problems/count-of-sub-multisets-with-bounded-sum) [🔗](https://leetcode.com/problems/count-of-sub-multisets-with-bounded-sum) |
119119
| 2915 | 和为目标值的最长子序列的长度 | | [`数组`](/tag/array.md) [`动态规划`](/tag/dynamic-programming.md) | 🟠 | [🀄️](https://leetcode.cn/problems/length-of-the-longest-subsequence-that-sums-to-target) [🔗](https://leetcode.com/problems/length-of-the-longest-subsequence-that-sums-to-target) |

‎problem/0349.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -112,6 +112,6 @@ var intersection = function (nums1, nums2) {
112112
| 2085 | 统计出现过一次的公共字符串 | [[]](/problem/2085.md) | [`数组`](/tag/array.md) [`哈希表`](/tag/hash-table.md) [`字符串`](/tag/string.md) `1+` | 🟢 | [🀄️](https://leetcode.cn/problems/count-common-words-with-one-occurrence) [🔗](https://leetcode.com/problems/count-common-words-with-one-occurrence) |
113113
| 2143 | 在两个数组的区间中选取数字 🔒 | | [`数组`](/tag/array.md) [`动态规划`](/tag/dynamic-programming.md) | 🔴 | [🀄️](https://leetcode.cn/problems/choose-numbers-from-two-arrays-in-range) [🔗](https://leetcode.com/problems/choose-numbers-from-two-arrays-in-range) |
114114
| 2215 | 找出两数组的不同 | [[]](/problem/2215.md) | [`数组`](/tag/array.md) [`哈希表`](/tag/hash-table.md) | 🟢 | [🀄️](https://leetcode.cn/problems/find-the-difference-of-two-arrays) [🔗](https://leetcode.com/problems/find-the-difference-of-two-arrays) |
115-
| 2248 | 多个数组求交集 | | [`数组`](/tag/array.md) [`哈希表`](/tag/hash-table.md) [`计数`](/tag/counting.md) `1+` | 🟢 | [🀄️](https://leetcode.cn/problems/intersection-of-multiple-arrays) [🔗](https://leetcode.com/problems/intersection-of-multiple-arrays) |
115+
| 2248 | 多个数组求交集 | [[]](/problem/2248.md) | [`数组`](/tag/array.md) [`哈希表`](/tag/hash-table.md) [`计数`](/tag/counting.md) `1+` | 🟢 | [🀄️](https://leetcode.cn/problems/intersection-of-multiple-arrays) [🔗](https://leetcode.com/problems/intersection-of-multiple-arrays) |
116116
| 2540 | 最小公共值 | | [`数组`](/tag/array.md) [`哈希表`](/tag/hash-table.md) [`双指针`](/tag/two-pointers.md) `1+` | 🟢 | [🀄️](https://leetcode.cn/problems/minimum-common-value) [🔗](https://leetcode.com/problems/minimum-common-value) |
117117
| 3002 | 移除后集合的最多元素数 | | [`贪心`](/tag/greedy.md) [`数组`](/tag/array.md) [`哈希表`](/tag/hash-table.md) | 🟠 | [🀄️](https://leetcode.cn/problems/maximum-size-of-a-set-after-removals) [🔗](https://leetcode.com/problems/maximum-size-of-a-set-after-removals) |

‎problem/0350.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -275,5 +275,5 @@ var intersect = function (nums1, filePathToNums2) {
275275
| 1002 | 查找共用字符 | [[]](/problem/1002.md) | [`数组`](/tag/array.md) [`哈希表`](/tag/hash-table.md) [`字符串`](/tag/string.md) | 🟢 | [🀄️](https://leetcode.cn/problems/find-common-characters) [🔗](https://leetcode.com/problems/find-common-characters) |
276276
| 2143 | 在两个数组的区间中选取数字 🔒 | | [`数组`](/tag/array.md) [`动态规划`](/tag/dynamic-programming.md) | 🔴 | [🀄️](https://leetcode.cn/problems/choose-numbers-from-two-arrays-in-range) [🔗](https://leetcode.com/problems/choose-numbers-from-two-arrays-in-range) |
277277
| 2215 | 找出两数组的不同 | [[]](/problem/2215.md) | [`数组`](/tag/array.md) [`哈希表`](/tag/hash-table.md) | 🟢 | [🀄️](https://leetcode.cn/problems/find-the-difference-of-two-arrays) [🔗](https://leetcode.com/problems/find-the-difference-of-two-arrays) |
278-
| 2248 | 多个数组求交集 | | [`数组`](/tag/array.md) [`哈希表`](/tag/hash-table.md) [`计数`](/tag/counting.md) `1+` | 🟢 | [🀄️](https://leetcode.cn/problems/intersection-of-multiple-arrays) [🔗](https://leetcode.com/problems/intersection-of-multiple-arrays) |
278+
| 2248 | 多个数组求交集 | [[]](/problem/2248.md) | [`数组`](/tag/array.md) [`哈希表`](/tag/hash-table.md) [`计数`](/tag/counting.md) `1+` | 🟢 | [🀄️](https://leetcode.cn/problems/intersection-of-multiple-arrays) [🔗](https://leetcode.com/problems/intersection-of-multiple-arrays) |
279279
| 2540 | 最小公共值 | | [`数组`](/tag/array.md) [`哈希表`](/tag/hash-table.md) [`双指针`](/tag/two-pointers.md) `1+` | 🟢 | [🀄️](https://leetcode.cn/problems/minimum-common-value) [🔗](https://leetcode.com/problems/minimum-common-value) |

‎problem/0451.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -118,8 +118,8 @@ var frequencySort = function (s) {
118118
| 347 | 前 K 个高频元素 | [[]](/problem/0347.md) | [`数组`](/tag/array.md) [`哈希表`](/tag/hash-table.md) [`分治`](/tag/divide-and-conquer.md) `5+` | 🟠 | [🀄️](https://leetcode.cn/problems/top-k-frequent-elements) [🔗](https://leetcode.com/problems/top-k-frequent-elements) |
119119
| 387 | 字符串中的第一个唯一字符 | [[]](/problem/0387.md) | [`队列`](/tag/queue.md) [`哈希表`](/tag/hash-table.md) [`字符串`](/tag/string.md) `1+` | 🟢 | [🀄️](https://leetcode.cn/problems/first-unique-character-in-a-string) [🔗](https://leetcode.com/problems/first-unique-character-in-a-string) |
120120
| 1636 | 按照频率将数组升序排序 | [[]](/problem/1636.md) | [`数组`](/tag/array.md) [`哈希表`](/tag/hash-table.md) [`排序`](/tag/sorting.md) | 🟢 | [🀄️](https://leetcode.cn/problems/sort-array-by-increasing-frequency) [🔗](https://leetcode.com/problems/sort-array-by-increasing-frequency) |
121-
| 2278 | 字母在字符串中的百分比 | | [`字符串`](/tag/string.md) | 🟢 | [🀄️](https://leetcode.cn/problems/percentage-of-letter-in-string) [🔗](https://leetcode.com/problems/percentage-of-letter-in-string) |
122-
| 2341 | 数组能形成多少数对 | | [`数组`](/tag/array.md) [`哈希表`](/tag/hash-table.md) [`计数`](/tag/counting.md) | 🟢 | [🀄️](https://leetcode.cn/problems/maximum-number-of-pairs-in-array) [🔗](https://leetcode.com/problems/maximum-number-of-pairs-in-array) |
121+
| 2278 | 字母在字符串中的百分比 | [[]](/problem/2278.md) | [`字符串`](/tag/string.md) | 🟢 | [🀄️](https://leetcode.cn/problems/percentage-of-letter-in-string) [🔗](https://leetcode.com/problems/percentage-of-letter-in-string) |
122+
| 2341 | 数组能形成多少数对 | [[]](/problem/2341.md) | [`数组`](/tag/array.md) [`哈希表`](/tag/hash-table.md) [`计数`](/tag/counting.md) | 🟢 | [🀄️](https://leetcode.cn/problems/maximum-number-of-pairs-in-array) [🔗](https://leetcode.com/problems/maximum-number-of-pairs-in-array) |
123123
| 2374 | 边积分最高的节点 | | [``](/tag/graph.md) [`哈希表`](/tag/hash-table.md) | 🟠 | [🀄️](https://leetcode.cn/problems/node-with-highest-edge-score) [🔗](https://leetcode.com/problems/node-with-highest-edge-score) |
124124
| 2404 | 出现最频繁的偶数元素 | | [`数组`](/tag/array.md) [`哈希表`](/tag/hash-table.md) [`计数`](/tag/counting.md) | 🟢 | [🀄️](https://leetcode.cn/problems/most-frequent-even-element) [🔗](https://leetcode.com/problems/most-frequent-even-element) |
125125
| 2506 | 统计相似字符串对的数目 | | [`位运算`](/tag/bit-manipulation.md) [`数组`](/tag/array.md) [`哈希表`](/tag/hash-table.md) `2+` | 🟢 | [🀄️](https://leetcode.cn/problems/count-pairs-of-similar-strings) [🔗](https://leetcode.com/problems/count-pairs-of-similar-strings) |

‎problem/0658.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -191,4 +191,4 @@ var findClosestElements = function (arr, k, x) {
191191
| 374 | 猜数字大小 | [[]](/problem/0374.md) | [`二分查找`](/tag/binary-search.md) [`交互`](/tag/interactive.md) | 🟢 | [🀄️](https://leetcode.cn/problems/guess-number-higher-or-lower) [🔗](https://leetcode.com/problems/guess-number-higher-or-lower) |
192192
| 375 | 猜数字大小 II | [[]](/problem/0375.md) | [`数学`](/tag/math.md) [`动态规划`](/tag/dynamic-programming.md) [`博弈`](/tag/game-theory.md) | 🟠 | [🀄️](https://leetcode.cn/problems/guess-number-higher-or-lower-ii) [🔗](https://leetcode.com/problems/guess-number-higher-or-lower-ii) |
193193
| 719 | 找出第 K 小的数对距离 | | [`数组`](/tag/array.md) [`双指针`](/tag/two-pointers.md) [`二分查找`](/tag/binary-search.md) `1+` | 🔴 | [🀄️](https://leetcode.cn/problems/find-k-th-smallest-pair-distance) [🔗](https://leetcode.com/problems/find-k-th-smallest-pair-distance) |
194-
| 2239 | 找到最接近 0 的数字 | | [`数组`](/tag/array.md) | 🟢 | [🀄️](https://leetcode.cn/problems/find-closest-number-to-zero) [🔗](https://leetcode.com/problems/find-closest-number-to-zero) |
194+
| 2239 | 找到最接近 0 的数字 | [[]](/problem/2239.md) | [`数组`](/tag/array.md) | 🟢 | [🀄️](https://leetcode.cn/problems/find-closest-number-to-zero) [🔗](https://leetcode.com/problems/find-closest-number-to-zero) |

0 commit comments

Comments
(0)

AltStyle によって変換されたページ (->オリジナル) /