Skip to content

Commit 8daa715

Browse files
committed
chore: remove black line in lc problems
1 parent 2017bd4 commit 8daa715

File tree

39 files changed

+5
-124
lines changed

39 files changed

+5
-124
lines changed

lcci/02.01.Remove Duplicate Node/README_EN.md

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,6 @@
3131
<ol>
3232
<li>The length of the list is within the range[0, 20000].</li>
3333
<li>The values of the list elements are within the range [0, 20000].</li>
34-
3534
</ol>
3635

3736
<p><strong>Follow Up: </strong></p>

solution/0100-0199/0160.Intersection of Two Linked Lists/README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@
3434

3535
<p><strong>示例 1:</strong></p>
3636

37-
<p><a href="https://assets.leetcode.com/uploads/2018/12/13/160_example_1.png" target="_blank"><img alt="" src="https://fastly.jsdelivr.net/gh/doocs/leetcode@main/solution/0100-0199/0160.Intersection%20of%20Two%20Linked%20Lists/images/160_example_1_1.png" style="height:130px; width:400px" /></a></p>
37+
<p><a href="https://fastly.jsdelivr.net/gh/doocs/leetcode@main/solution/0100-0199/0160.Intersection%20of%20Two%20Linked%20Lists/images/160_example_1.png" target="_blank"><img alt="" src="https://fastly.jsdelivr.net/gh/doocs/leetcode@main/solution/0100-0199/0160.Intersection%20of%20Two%20Linked%20Lists/images/160_example_1_1.png" style="height:130px; width:400px" /></a></p>
3838

3939
<pre>
4040
<strong>输入:</strong>intersectVal = 8, listA = [4,1,8,4,5], listB = [5,6,1,8,4,5], skipA = 2, skipB = 3
@@ -49,7 +49,7 @@
4949

5050
<p><strong>示例&nbsp;2:</strong></p>
5151

52-
<p><a href="https://assets.leetcode.com/uploads/2018/12/13/160_example_2.png" target="_blank"><img alt="" src="https://fastly.jsdelivr.net/gh/doocs/leetcode@main/solution/0100-0199/0160.Intersection%20of%20Two%20Linked%20Lists/images/160_example_2.png" style="height:136px; width:350px" /></a></p>
52+
<p><a href="https://fastly.jsdelivr.net/gh/doocs/leetcode@main/solution/0100-0199/0160.Intersection%20of%20Two%20Linked%20Lists/images/160_example_2.png" target="_blank"><img alt="" src="https://fastly.jsdelivr.net/gh/doocs/leetcode@main/solution/0100-0199/0160.Intersection%20of%20Two%20Linked%20Lists/images/160_example_2.png" style="height:136px; width:350px" /></a></p>
5353

5454
<pre>
5555
<strong>输入:</strong>intersectVal&nbsp;= 2, listA = [1,9,1,2,4], listB = [3,2,4], skipA = 3, skipB = 1
@@ -61,7 +61,7 @@
6161

6262
<p><strong>示例&nbsp;3:</strong></p>
6363

64-
<p><a href="https://assets.leetcode.com/uploads/2018/12/13/160_example_3.png" target="_blank"><img alt="" src="https://fastly.jsdelivr.net/gh/doocs/leetcode@main/solution/0100-0199/0160.Intersection%20of%20Two%20Linked%20Lists/images/160_example_3.png" style="height:126px; width:200px" /></a></p>
64+
<p><a href="https://fastly.jsdelivr.net/gh/doocs/leetcode@main/solution/0100-0199/0160.Intersection%20of%20Two%20Linked%20Lists/images/160_example_3.png" target="_blank"><img alt="" src="https://fastly.jsdelivr.net/gh/doocs/leetcode@main/solution/0100-0199/0160.Intersection%20of%20Two%20Linked%20Lists/images/160_example_3.png" style="height:126px; width:200px" /></a></p>
6565

6666
<pre>
6767
<strong>输入:</strong>intersectVal = 0, listA = [2,6,4], listB = [1,5], skipA = 3, skipB = 2

solution/0100-0199/0174.Dungeon Game/README.md

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -87,15 +87,10 @@ table.dungeon, .dungeon th, .dungeon td {
8787
<p><strong>说明:</strong></p>
8888

8989
<ul>
90-
9190
<li>
92-
9391
<p>骑士的健康点数没有上限。</p>
94-
9592
</li>
96-
9793
<li>任何房间都可能对骑士的健康点数造成威胁,也可能增加骑士的健康点数,包括骑士进入的左上角房间以及公主被监禁的右下角房间。</li>
98-
9994
</ul>
10095

10196
## 解法

solution/0700-0799/0777.Swap Adjacent in LR String/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ XRLXXRRLX
3838

3939
**方法一:双指针**
4040

41-
替换操作可以实际上是将 `L` 往左移动(`L` 左边为 `X` 时才能移动),`R` 往右移动(`R` 右边是 `X` 时才能移动),但 `L` 无法穿过 `R`。所以,如果去掉 `start``end` 中的所有 `X`剩下的字符应该时相同的,否则返回 `false`
41+
替换操作实际上是将 `L` 往左移动(`L` 左边为 `X` 时才能移动),`R` 往右移动(`R` 右边是 `X` 时才能移动),但 `L` 无法穿过 `R`。所以,如果去掉 `start``end` 中的所有 `X`剩下的字符应该是相同的,否则返回 `false`
4242

4343
双指针遍历 `start``end`
4444

solution/0900-0999/0909.Snakes and Ladders/README.md

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,6 @@
2020
</li>
2121
<li>传送玩家:如果目标方格 <code>next</code> 处存在蛇或梯子,那么玩家会传送到蛇或梯子的目的地。否则,玩家传送到目标方格 <code>next</code> 。&nbsp;</li>
2222
<li>当玩家到达编号 <code>n<sup>2</sup></code> 的方格时,游戏结束。</li>
23-
2423
</ul>
2524

2625
<p><code>r</code> 行 <code>c</code> 列的棋盘,按前述方法编号,棋盘格中可能存在 “蛇” 或 “梯子”;如果 <code>board[r][c] != -1</code>,那个蛇或梯子的目的地将会是 <code>board[r][c]</code>。编号为 <code>1</code> 和 <code>n<sup>2</sup></code> 的方格上没有蛇或梯子。</p>

solution/0900-0999/0909.Snakes and Ladders/README_EN.md

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,14 +10,12 @@
1010

1111
<ul>
1212
<li>Choose a destination square <code>next</code> with a label in the range <code>[curr + 1, min(curr + 6, n<sup>2</sup>)]</code>.
13-
1413
<ul>
1514
<li>This choice simulates the result of a standard <strong>6-sided die roll</strong>: i.e., there are always at most 6 destinations, regardless of the size of the board.</li>
1615
</ul>
1716
</li>
1817
<li>If <code>next</code> has a snake or ladder, you <strong>must</strong> move to the destination of that snake or ladder. Otherwise, you move to <code>next</code>.</li>
1918
<li>The game ends when you reach the square <code>n<sup>2</sup></code>.</li>
20-
2119
</ul>
2220

2321
<p>A board square on row <code>r</code> and column <code>c</code> has a snake or ladder if <code>board[r][c] != -1</code>. The destination of that snake or ladder is <code>board[r][c]</code>. Squares <code>1</code> and <code>n<sup>2</sup></code> do not have a snake or ladder.</p>

solution/0900-0999/0966.Vowel Spellchecker/README_EN.md

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,6 @@
1010

1111
<ul>
1212
<li>Capitalization: If the query matches a word in the wordlist (<strong>case-insensitive</strong>), then the query word is returned with the same case as the case in the wordlist.
13-
1413
<ul>
1514
<li>Example: <code>wordlist = [&quot;yellow&quot;]</code>, <code>query = &quot;YellOw&quot;</code>: <code>correct = &quot;yellow&quot;</code></li>
1615
<li>Example: <code>wordlist = [&quot;Yellow&quot;]</code>, <code>query = &quot;yellow&quot;</code>: <code>correct = &quot;Yellow&quot;</code></li>
@@ -24,7 +23,6 @@
2423
<li>Example: <code>wordlist = [&quot;YellOw&quot;]</code>, <code>query = &quot;yllw&quot;</code>: <code>correct = &quot;&quot;</code> (no match)</li>
2524
</ul>
2625
</li>
27-
2826
</ul>
2927

3028
<p>In addition, the spell checker operates under the following precedence rules:</p>

solution/1100-1199/1139.Largest 1-Bordered Square/README_EN.md

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -33,13 +33,9 @@
3333
<p><strong>Constraints:</strong></p>
3434

3535
<ul>
36-
3736
<li><code>1 &lt;= grid.length &lt;= 100</code></li>
38-
3937
<li><code>1 &lt;= grid[0].length &lt;= 100</code></li>
40-
4138
<li><code>grid[i][j]</code> is <code>0</code> or <code>1</code></li>
42-
4339
</ul>
4440

4541
## Solutions

solution/1100-1199/1187.Make Array Strictly Increasing/README_EN.md

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -51,11 +51,8 @@
5151
<p><strong>Constraints:</strong></p>
5252

5353
<ul>
54-
5554
<li><code>1 &lt;= arr1.length, arr2.length &lt;= 2000</code></li>
56-
5755
<li><code>0 &lt;= arr1[i], arr2[i] &lt;= 10^9</code></li>
58-
5956
</ul>
6057

6158
<p>&nbsp;</p>

solution/1200-1299/1248.Count Number of Nice Subarrays/README_EN.md

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -49,13 +49,9 @@
4949
<p><strong>Constraints:</strong></p>
5050

5151
<ul>
52-
5352
<li><code>1 &lt;= nums.length &lt;= 50000</code></li>
54-
5553
<li><code>1 &lt;= nums[i] &lt;= 10^5</code></li>
56-
5754
<li><code>1 &lt;= k &lt;= nums.length</code></li>
58-
5955
</ul>
6056

6157
## Solutions

0 commit comments

Comments
 (0)