Skip to content

Commit 10461e4

Browse files
authored
feat: update lc problems (doocs#4539)
1 parent 13f8867 commit 10461e4

File tree

32 files changed

+105
-46
lines changed

32 files changed

+105
-46
lines changed

solution/0000-0099/0014.Longest Common Prefix/README.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@ difficulty: 简单
44
edit_url: https://github.com/doocs/leetcode/edit/main/solution/0000-0099/0014.Longest%20Common%20Prefix/README.md
55
tags:
66
- 字典树
7+
- 数组
78
- 字符串
89
---
910

solution/0000-0099/0014.Longest Common Prefix/README_EN.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@ difficulty: Easy
44
edit_url: https://github.com/doocs/leetcode/edit/main/solution/0000-0099/0014.Longest%20Common%20Prefix/README_EN.md
55
tags:
66
- Trie
7+
- Array
78
- String
89
---
910

solution/0900-0999/0912.Sort an Array/README.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -37,13 +37,15 @@ tags:
3737
<pre>
3838
<strong>输入:</strong>nums = [5,2,3,1]
3939
<strong>输出:</strong>[1,2,3,5]
40+
<strong>解释:</strong>数组排序后,某些数字的位置没有改变(例如,2 和 3),而其他数字的位置发生了改变(例如,1 和 5)。
4041
</pre>
4142

4243
<p><strong>示例 2:</strong></p>
4344

4445
<pre>
4546
<strong>输入:</strong>nums = [5,1,1,2,0,0]
4647
<strong>输出:</strong>[0,0,1,1,2,5]
48+
<strong>解释:</strong>请注意,nums 的值不一定唯一。
4749
</pre>
4850

4951
<p>&nbsp;</p>

solution/0900-0999/0912.Sort an Array/README_EN.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ tags:
4141
<pre>
4242
<strong>Input:</strong> nums = [5,1,1,2,0,0]
4343
<strong>Output:</strong> [0,0,1,1,2,5]
44-
<strong>Explanation:</strong> Note that the values of nums are not necessairly unique.
44+
<strong>Explanation:</strong> Note that the values of nums are not necessarily unique.
4545
</pre>
4646

4747
<p>&nbsp;</p>

solution/0900-0999/0923.3Sum With Multiplicity/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ tags:
1212

1313
<!-- problem:start -->
1414

15-
# [923. 三数之和的多种可能](https://leetcode.cn/problems/3sum-with-multiplicity)
15+
# [923. 多重三数之和](https://leetcode.cn/problems/3sum-with-multiplicity)
1616

1717
[English Version](/solution/0900-0999/0923.3Sum%20With%20Multiplicity/README_EN.md)
1818

solution/1100-1199/1152.Analyze User Website Visit Pattern/README.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@ source: 第 6 场双周赛 Q3
77
tags:
88
- 数组
99
- 哈希表
10+
- 字符串
1011
- 排序
1112
---
1213

solution/1100-1199/1152.Analyze User Website Visit Pattern/README_EN.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@ source: Biweekly Contest 6 Q3
77
tags:
88
- Array
99
- Hash Table
10+
- String
1011
- Sorting
1112
---
1213

solution/1100-1199/1153.String Transforms Into Another String/README.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@ edit_url: https://github.com/doocs/leetcode/edit/main/solution/1100-1199/1153.St
55
rating: 1949
66
source: 第 6 场双周赛 Q4
77
tags:
8+
-
89
- 哈希表
910
- 字符串
1011
---

solution/1100-1199/1153.String Transforms Into Another String/README_EN.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@ edit_url: https://github.com/doocs/leetcode/edit/main/solution/1100-1199/1153.St
55
rating: 1949
66
source: Biweekly Contest 6 Q4
77
tags:
8+
- Graph
89
- Hash Table
910
- String
1011
---

solution/1300-1399/1375.Number of Times Binary String Is Prefix-Aligned/README_EN.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ tags:
1818

1919
<!-- description:start -->
2020

21-
<p>You have a <strong>1-indexed</strong> binary string of length <code>n</code> where all the bits are <code>0</code> initially. We will flip all the bits of this binary string (i.e., change them from <code>0</code> to <code>1</code>) one by one. You are given a <strong>1-indexed</strong> integer array <code>flips</code> where <code>flips[i]</code> indicates that the bit at index <code>i</code> will be flipped in the <code>i<sup>th</sup></code> step.</p>
21+
<p>You have a <strong>1-indexed</strong> binary string of length <code>n</code> where all the bits are <code>0</code> initially. We will flip all the bits of this binary string (i.e., change them from <code>0</code> to <code>1</code>) one by one. You are given a <strong>1-indexed</strong> integer array <code>flips</code> where <code>flips[i]</code> indicates that the bit at index <code>flips[i]</code> will be flipped in the <code>i<sup>th</sup></code> step.</p>
2222

2323
<p>A binary string is <strong>prefix-aligned</strong> if, after the <code>i<sup>th</sup></code> step, all the bits in the <strong>inclusive</strong> range <code>[1, i]</code> are ones and all the other bits are zeros.</p>
2424

0 commit comments

Comments
 (0)