Skip to content

Commit b266b0c

Browse files
committed
fix: update images path
1 parent b46e88b commit b266b0c

File tree

203 files changed

+282
-512
lines changed

Some content is hidden

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

203 files changed

+282
-512
lines changed

solution/0400-0499/0463.Island Perimeter/README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -24,9 +24,9 @@
2424

2525
<strong>解释:</strong> 它的周长是下面图片中的 16 个黄色的边:
2626

27-
<img src="https://assets.leetcode-cn.com/aliyun-lc-upload/uploads/2018/10/12/island.png">
2827
</pre>
2928

29+
![](./images/island.png)
3030

3131

3232
## 解法

solution/0400-0499/0463.Island Perimeter/README_EN.md

+1-5
Original file line numberDiff line numberDiff line change
@@ -43,13 +43,9 @@
4343

4444
<strong>Explanation:</strong> The perimeter is the 16 yellow stripes in the image below:
4545

46-
47-
48-
<img src="https://assets.leetcode.com/uploads/2018/10/12/island.png" style="width: 221px; height: 213px;" />
49-
5046
</pre>
5147

52-
48+
![](./images/island.png)
5349

5450

5551
## Solutions
Loading

solution/0400-0499/0498.Diagonal Traverse/README.md

+3-1
Original file line numberDiff line numberDiff line change
@@ -20,9 +20,11 @@
2020
<strong>输出:</strong> [1,2,4,7,5,3,6,8,9]
2121

2222
<strong>解释:</strong>
23-
<img src="https://assets.leetcode-cn.com/aliyun-lc-upload/uploads/2018/10/12/diagonal_traverse.png" style="width: 220px;">
23+
2424
</pre>
2525

26+
![](./images/diagonal_traverse.png)
27+
2628
<p>&nbsp;</p>
2729

2830
<p><strong>说明:</strong></p>

solution/0400-0499/0498.Diagonal Traverse/README_EN.md

+1-3
Original file line numberDiff line numberDiff line change
@@ -36,11 +36,9 @@
3636

3737

3838
<b>Explanation:</b>
39-
40-
<img src="https://assets.leetcode.com/uploads/2018/10/12/diagonal_traverse.png" style="width: 220px;" />
41-
4239
</pre>
4340

41+
![](./images/diagonal_traverse.png)
4442

4543

4644
<p>&nbsp;</p>
Loading

solution/0500-0599/0500.Keyboard Row/README.md

+1-7
Original file line numberDiff line numberDiff line change
@@ -11,10 +11,7 @@
1111
<p>&nbsp;</p>
1212

1313

14-
15-
<p><img alt="American keyboard" src="https://assets.leetcode-cn.com/aliyun-lc-upload/uploads/2018/10/12/keyboard.png" style="width: 100%; max-width: 600px"></p>
16-
17-
14+
![](./images/keyboard.png)
1815

1916
<p>&nbsp;</p>
2017

@@ -41,11 +38,8 @@
4138

4239

4340
<ol>
44-
4541
<li>你可以重复使用键盘上同一字符。</li>
46-
4742
<li>你可以假设输入的字符串将只包含字母。</li>
48-
4943
</ol>
5044

5145

solution/0500-0599/0500.Keyboard Row/README_EN.md

+1-4
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111

1212

1313

14-
<p><img alt="" src="https://assets.leetcode.com/uploads/2018/10/12/keyboard.png" style="width: 100%; max-width: 600px" /></p>
14+
![](./images/keyboard.png)
1515

1616
&nbsp;
1717

@@ -40,11 +40,8 @@
4040

4141

4242
<ol>
43-
4443
<li>You may use one character in the keyboard more than once.</li>
45-
4644
<li>You may assume the input string will only contain letters of alphabet.</li>
47-
4845
</ol>
4946

5047

Loading

solution/0500-0599/0514.Freedom Trail/README.md

+1-8
Original file line numberDiff line numberDiff line change
@@ -21,11 +21,8 @@
2121

2222

2323
<ol>
24-
2524
<li>您可以将&nbsp;<strong>ring&nbsp;</strong>顺时针或逆时针旋转<strong>一个位置</strong>,计为1步。旋转的最终目的是将字符串&nbsp;<strong>ring&nbsp;</strong>的一个字符与 12:00 方向对齐,并且这个字符必须等于字符&nbsp;<strong>key[i] 。</strong></li>
26-
2725
<li>如果字符&nbsp;<strong>key[i]&nbsp;</strong>已经对齐到12:00方向,您需要按下中心按钮进行拼写,这也将算作&nbsp;<strong>1 步</strong>。按完之后,您可以开始拼写&nbsp;<strong>key&nbsp;</strong>的下一个字符(下一阶段), 直至完成所有拼写。</li>
28-
2926
</ol>
3027

3128

@@ -38,7 +35,7 @@
3835

3936

4037

41-
<center><img src="https://assets.leetcode-cn.com/aliyun-lc-upload/uploads/2018/10/22/ring.jpg" style="width: 26%;"></center>
38+
![](./images/ring.jpg)
4239

4340
&nbsp;
4441

@@ -67,13 +64,9 @@
6764

6865

6966
<ol>
70-
7167
<li><strong>ring</strong> 和&nbsp;<strong>key</strong>&nbsp;的字符串长度取值范围均为&nbsp;1 至&nbsp;100;</li>
72-
7368
<li>两个字符串中都只有小写字符,并且均可能存在重复字符;</li>
74-
7569
<li>字符串&nbsp;<strong>key</strong>&nbsp;一定可以由字符串 <strong>ring</strong>&nbsp;旋转拼出。</li>
76-
7770
</ol>
7871

7972

solution/0500-0599/0514.Freedom Trail/README_EN.md

+1-9
Original file line numberDiff line numberDiff line change
@@ -20,20 +20,16 @@
2020

2121

2222
<ol>
23-
2423
<li>You can rotate the <b>ring</b> clockwise or anticlockwise <b>one place</b>, which counts as 1 step. The final purpose of the rotation is to align one of the string <b>ring&#39;s</b> characters at the 12:00 direction, where this character must equal to the character <b>key[i]</b>.</li>
25-
2624
<li>If the character <b>key[i]</b> has been aligned at the 12:00 direction, you need to press the center button to spell, which also counts as 1 step. After the pressing, you could begin to spell the next character in the key (next stage), otherwise, you&#39;ve finished all the spelling.</li>
27-
2825
</ol>
2926

3027

3128

3229
<p><b>Example:</b></p>
3330

3431

35-
36-
<center><img src="https://assets.leetcode.com/uploads/2018/10/22/ring.jpg" style="width: 26%;" /></center>
32+
![](./images/ring.jpg)
3733

3834
&nbsp;
3935

@@ -64,13 +60,9 @@ So the final output is 4.
6460

6561

6662
<ol>
67-
6863
<li>Length of both ring and <b>key</b> will be in range 1 to 100.</li>
69-
7064
<li>There are only lowercase letters in both strings and might be some duplcate characters in both strings.</li>
71-
7265
<li>It&#39;s guaranteed that string <b>key</b> could always be spelled by rotating the string <b>ring</b>.</li>
73-
7466
</ol>
7567

7668

Loading

solution/0500-0599/0529.Minesweeper/README.md

+5-9
Original file line numberDiff line numberDiff line change
@@ -71,10 +71,11 @@ Click : [3,0]
7171

7272

7373
<strong>解释:</strong>
74+
</pre>
75+
76+
![](./images/minesweeper_example_1.png)
7477

75-
<img src="https://assets.leetcode-cn.com/aliyun-lc-upload/uploads/2018/10/12/minesweeper_example_1.png" style="width: 100%; max-width: 400px">
7678

77-
</pre>
7879

7980

8081

@@ -116,10 +117,10 @@ Click : [1,2]
116117

117118
<strong>解释:</strong>
118119

119-
<img src="https://assets.leetcode-cn.com/aliyun-lc-upload/uploads/2018/10/12/minesweeper_example_2.png" style="width: 100%; max-width: 400px">
120-
121120
</pre>
122121

122+
![](./images/minesweeper_example_2.png)
123+
123124

124125

125126
<p>&nbsp;</p>
@@ -131,15 +132,10 @@ Click : [1,2]
131132

132133

133134
<ol>
134-
135135
<li>输入矩阵的宽和高的范围为 [1,50]。</li>
136-
137136
<li>点击的位置只能是未被挖出的方块 (&#39;M&#39; 或者 &#39;E&#39;),这也意味着面板至少包含一个可点击的方块。</li>
138-
139137
<li>输入面板不会是游戏结束的状态(即有地雷已被挖出)。</li>
140-
141138
<li>简单起见,未提及的规则在这个问题中可被忽略。例如,当游戏结束时你不需要挖出所有地雷,考虑所有你可能赢得游戏或标记方块的情况。</li>
142-
143139
</ol>
144140

145141

solution/0500-0599/0529.Minesweeper/README_EN.md

+3-14
Original file line numberDiff line numberDiff line change
@@ -16,15 +16,10 @@
1616

1717

1818
<ol>
19-
2019
<li>If a mine (&#39;M&#39;) is revealed, then the game is over - change it to <b>&#39;X&#39;</b>.</li>
21-
2220
<li>If an empty square (&#39;E&#39;) with <b>no adjacent mines</b> is revealed, then change it to revealed blank (&#39;B&#39;) and all of its adjacent <b>unrevealed</b> squares should be revealed recursively.</li>
23-
2421
<li>If an empty square (&#39;E&#39;) with <b>at least one adjacent mine</b> is revealed, then change it to a digit (&#39;1&#39; to &#39;8&#39;) representing the number of adjacent mines.</li>
25-
2622
<li>Return the board when no more squares will be revealed.</li>
27-
2823
</ol>
2924

3025

@@ -73,11 +68,11 @@ Click : [3,0]
7368

7469
<b>Explanation:</b>
7570

76-
<img src="https://assets.leetcode.com/uploads/2018/10/12/minesweeper_example_1.png" style="width: 100%; max-width: 400px" />
7771

78-
</pre>
7972

73+
</pre>
8074

75+
![](./images/minesweeper_example_1.png)
8176

8277
<p><b>Example 2:</b></p>
8378

@@ -119,10 +114,9 @@ Click : [1,2]
119114

120115
<b>Explanation:</b>
121116

122-
<img src="https://assets.leetcode.com/uploads/2018/10/12/minesweeper_example_2.png" style="width: 100%; max-width: 400px" />
123-
124117
</pre>
125118

119+
![](./images/minesweeper_example_2.png)
126120

127121

128122
<p>&nbsp;</p>
@@ -134,15 +128,10 @@ Click : [1,2]
134128

135129

136130
<ol>
137-
138131
<li>The range of the input matrix&#39;s height and width is [1,50].</li>
139-
140132
<li>The click position will only be an unrevealed square (&#39;M&#39; or &#39;E&#39;), which also means the input board contains at least one clickable square.</li>
141-
142133
<li>The input board won&#39;t be a stage when game is over (some mines have been revealed).</li>
143-
144134
<li>For simplicity, not mentioned rules should be ignored in this problem. For example, you <b>don&#39;t</b> need to reveal all the unrevealed mines when the game is over, consider any cases that you will win the game or flag any squares.</li>
145-
146135
</ol>
147136

148137

Loading
Loading

solution/0500-0599/0554.Brick Wall/README.md

+1-6
Original file line numberDiff line numberDiff line change
@@ -48,11 +48,9 @@
4848

4949
<strong>解释:</strong>
5050

51-
<img src="https://assets.leetcode-cn.com/aliyun-lc-upload/uploads/2018/10/12/brick_wall.png" style="width: 100%; max-width: 350px">
52-
5351
</pre>
5452

55-
53+
![](./images/brick_wall.png)
5654

5755
<p>&nbsp;</p>
5856

@@ -63,11 +61,8 @@
6361

6462

6563
<ol>
66-
6764
<li>每一行砖块的宽度之和应该相等,并且不能超过 INT_MAX。</li>
68-
6965
<li>每一行砖块的数量在&nbsp;[1,10,000] 范围内,&nbsp;墙的高度在&nbsp;[1,10,000] 范围内,&nbsp;总的砖块数量不超过 20,000。</li>
70-
7166
</ol>
7267

7368

solution/0500-0599/0554.Brick Wall/README_EN.md

+1-5
Original file line numberDiff line numberDiff line change
@@ -49,11 +49,10 @@
4949

5050
<b>Explanation:</b>
5151

52-
<img src="https://assets.leetcode.com/uploads/2018/10/12/brick_wall.png" style="width: 100%; max-width: 350px" />
53-
5452
</pre>
5553

5654

55+
![](./images/brick_wall.png)
5756

5857
<p>&nbsp;</p>
5958

@@ -64,11 +63,8 @@
6463

6564

6665
<ol>
67-
6866
<li>The width sum of bricks in different rows are the same and won&#39;t exceed INT_MAX.</li>
69-
7067
<li>The number of bricks in each row is in range [1,10,000]. The height of wall is in range [1,10,000]. Total number of bricks of the wall won&#39;t exceed 20,000.</li>
71-
7268
</ol>
7369

7470

Loading

solution/0500-0599/0559.Maximum Depth of N-ary Tree/README.md

+1-6
Original file line numberDiff line numberDiff line change
@@ -19,9 +19,7 @@
1919
<p>&nbsp;</p>
2020

2121

22-
23-
<p><img src="https://assets.leetcode-cn.com/aliyun-lc-upload/uploads/2018/10/12/narytreeexample.png" style="width: 100%; max-width: 300px;"></p>
24-
22+
![](./images/narytreeexample.png)
2523

2624

2725
<p>&nbsp;</p>
@@ -37,11 +35,8 @@
3735

3836

3937
<ol>
40-
4138
<li>树的深度不会超过&nbsp;<code>1000</code>。</li>
42-
4339
<li>树的节点总不会超过&nbsp;<code>5000</code>。</li>
44-
4540
</ol>
4641

4742

solution/0500-0599/0559.Maximum Depth of N-ary Tree/README_EN.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
<p>&nbsp;</p>
1313
<p><strong>Example 1:</strong></p>
1414

15-
<p><img src="https://assets.leetcode.com/uploads/2018/10/12/narytreeexample.png" style="width: 100%; max-width: 300px;" /></p>
15+
![](./images/narytreeexample.png)
1616

1717
<pre>
1818
<strong>Input:</strong> root = [1,null,3,2,4,null,5,6]
@@ -21,7 +21,7 @@
2121

2222
<p><strong>Example 2:</strong></p>
2323

24-
<p><img alt="" src="https://assets.leetcode.com/uploads/2019/11/08/sample_4_964.png" style="width: 296px; height: 241px;" /></p>
24+
![](./images/sample_4_964.png)
2525

2626
<pre>
2727
<strong>Input:</strong> root = [1,null,2,3,4,5,null,null,6,7,null,8,null,9,10,null,null,11,null,12,null,13,null,null,14]
Loading
Loading

solution/0500-0599/0576.Out of Boundary Paths/README.md

+2-10
Original file line numberDiff line numberDiff line change
@@ -22,11 +22,9 @@
2222

2323
<strong>解释:</strong>
2424

25-
<img src="https://assets.leetcode-cn.com/aliyun-lc-upload/uploads/2018/10/12/out_of_boundary_paths_1.png" style="width: 100%; max-width: 400px">
26-
2725
</pre>
2826

29-
27+
![](./images/out_of_boundary_paths_1.png)
3028

3129
<p><strong>示例 2:</strong></p>
3230

@@ -38,11 +36,9 @@
3836

3937
<strong>解释:</strong>
4038

41-
<img src="https://assets.leetcode-cn.com/aliyun-lc-upload/uploads/2018/10/12/out_of_boundary_paths_2.png" style="width: 100%; max-width: 400px">
42-
4339
</pre>
4440

45-
41+
![](./images/out_of_boundary_paths_2.png)
4642

4743
<p>&nbsp;</p>
4844

@@ -53,13 +49,9 @@
5349

5450

5551
<ol>
56-
5752
<li>球一旦出界,就不能再被移动回网格内。</li>
58-
5953
<li>网格的长度和高度在 [1,50] 的范围内。</li>
60-
6154
<li>N 在 [0,50] 的范围内。</li>
62-
6355
</ol>
6456

6557

0 commit comments

Comments
 (0)