Skip to content

Commit 95d4c9c

Browse files
committed
fix: update images path
1 parent f0380fe commit 95d4c9c

File tree

223 files changed

+298
-421
lines changed

Some content is hidden

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

223 files changed

+298
-421
lines changed

solution/0000-0099/0011.Container With Most Water/README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010

1111
<p>&nbsp;</p>
1212

13-
<p><img alt="" src="https://aliyun-lc-upload.oss-cn-hangzhou.aliyuncs.com/aliyun-lc-upload/uploads/2018/07/25/question_11.jpg" style="height: 287px; width: 600px;"></p>
13+
![](./images/question_11.jpg)
1414

1515
<p><small>图中垂直线代表输入数组 [1,8,6,2,5,4,8,3,7]。在此情况下,容器能够容纳水(表示为蓝色部分)的最大值为&nbsp;49。</small></p>
1616

solution/0000-0099/0011.Container With Most Water/README_EN.md

+1-4
Original file line numberDiff line numberDiff line change
@@ -13,10 +13,7 @@
1313

1414
<p>&nbsp;</p>
1515

16-
17-
18-
<p><img alt="" src="https://s3-lc-upload.s3.amazonaws.com/uploads/2018/07/17/question_11.jpg" style="width: 600px; height: 287px;" /></p>
19-
16+
![](./images/question_11.jpg)
2017

2118

2219
<p><small>The above vertical lines are represented by array [1,8,6,2,5,4,8,3,7]. In this case, the max area of water (blue section) the container can contain&nbsp;is 49. </small></p>
Loading

solution/0100-0199/0142.Linked List Cycle II/README_EN.md

+3-3
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@
1919
<strong>Explanation:</strong> There is a cycle in the linked list, where tail connects to the second node.
2020
</pre>
2121

22-
<p><img alt="" src="https://assets.leetcode.com/uploads/2018/12/07/circularlinkedlist.png" style="height: 97px; width: 300px;" /></p>
22+
![](./images/circularlinkedlist.png)
2323

2424
<p><strong>Example 2:</strong></p>
2525

@@ -29,7 +29,7 @@
2929
<strong>Explanation:</strong> There is a cycle in the linked list, where tail connects to the first node.
3030
</pre>
3131

32-
<p><img alt="" src="https://assets.leetcode.com/uploads/2018/12/07/circularlinkedlist_test2.png" style="height: 74px; width: 141px;" /></p>
32+
![](./images/circularlinkedlist_test2.png)
3333

3434
<p><strong>Example 3:</strong></p>
3535

@@ -39,7 +39,7 @@
3939
<strong>Explanation:</strong> There is no cycle in the linked list.
4040
</pre>
4141

42-
<p><img alt="" src="https://assets.leetcode.com/uploads/2018/12/07/circularlinkedlist_test3.png" style="height: 45px; width: 45px;" /></p>
42+
![](./images/circularlinkedlist_test3.png)
4343

4444
<p>&nbsp;</p>
4545

solution/0200-0299/0237.Delete Node in a Linked List/README_EN.md

+1-4
Original file line numberDiff line numberDiff line change
@@ -10,10 +10,7 @@
1010
<p>Given linked list --&nbsp;head =&nbsp;[4,5,1,9], which looks like following:</p>
1111

1212

13-
14-
<p><img alt="" src="https://assets.leetcode.com/uploads/2018/12/28/237_example.png" style="margin-top: 5px; margin-bottom: 5px; width: 300px; height: 49px;" /></p>
15-
16-
13+
![](./images/237_example.png)
1714

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

solution/0400-0499/0427.Construct Quad Tree/README.md

+3-3
Original file line numberDiff line numberDiff line change
@@ -12,19 +12,19 @@
1212

1313
<p>给定下面这个<code>8 x 8</code>&nbsp;网络,我们将这样建立一个对应的四叉树:</p>
1414

15-
<p><img alt="" src="https://s3-lc-upload.s3.amazonaws.com/uploads/2018/02/01/962_grid.png" style="height:27%; width:27%" /></p>
15+
![](./images/962_grid.png)
1616

1717
<p>由上文的定义,它能被这样分割:</p>
1818

19-
<p><img alt="" src="https://s3-lc-upload.s3.amazonaws.com/uploads/2018/02/01/962_grid_divided.png" style="height:100%; width:100%" /></p>
19+
![](./images/962_grid_divided.png)
2020

2121
<p>&nbsp;</p>
2222

2323
<p>对应的四叉树应该像下面这样,每个结点由一对&nbsp;<code>(isLeaf, val)</code>&nbsp;所代表.</p>
2424

2525
<p>对于非叶子结点,<code>val</code>&nbsp;可以是任意的,所以使用&nbsp;<code>*</code>&nbsp;代替。</p>
2626

27-
<p><img alt="" src="https://s3-lc-upload.s3.amazonaws.com/uploads/2018/02/01/962_quad_tree.png" style="height:100%; width:100%" /></p>
27+
![](./images/962_quad_tree.png)
2828

2929
<p><strong>提示:</strong></p>
3030

solution/0400-0499/0427.Construct Quad Tree/README_EN.md

+11-5
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,9 @@ class Node {
3333
<li>If the current grid has different values, set <code>isLeaf</code> to False and&nbsp;set <code>val</code> to any value and divide the current grid into four sub-grids as shown in the photo.</li>
3434
<li>Recurse for each of the children with the proper sub-grid.</li>
3535
</ol>
36-
<img alt="" src="https://assets.leetcode.com/uploads/2020/02/11/new_top.png" style="width: 777px; height: 181px;" />
36+
37+
![](./images/new_top.png)
38+
3739
<p>If you want to know more about the Quad-Tree, you can refer to the&nbsp;<a href="https://en.wikipedia.org/wiki/Quadtree">wiki</a>.</p>
3840

3941
<p><strong>Quad-Tree&nbsp;format:</strong></p>
@@ -46,18 +48,21 @@ class Node {
4648

4749
<p>&nbsp;</p>
4850
<p><strong>Example 1:</strong></p>
49-
<img alt="" src="https://assets.leetcode.com/uploads/2020/02/11/grid1.png" style="width: 777px; height: 99px;" />
51+
52+
![](./images/grid1.png)
53+
5054
<pre>
5155
<strong>Input:</strong> grid = [[0,1],[1,0]]
5256
<strong>Output:</strong> [[0,1],[1,0],[1,1],[1,1],[1,0]]
5357
<strong>Explanation:</strong> The explanation of this example is shown below:
5458
Notice that 0 represnts False and 1 represents True in the photo representing the Quad-Tree.
55-
<img alt="" src="https://assets.leetcode.com/uploads/2020/02/12/e1tree.png" style="width: 777px; height: 186px;" />
5659
</pre>
5760

61+
![](./images/e1tree.png)
62+
5863
<p><strong>Example 2:</strong></p>
5964

60-
<p><img alt="" src="https://assets.leetcode.com/uploads/2020/02/12/e2mat.png" style="width: 777px; height: 343px;" /></p>
65+
![](./images/e2mat.png)
6166

6267
<pre>
6368
<strong>Input:</strong> grid = [[1,1,1,1,0,0,0,0],[1,1,1,1,0,0,0,0],[1,1,1,1,1,1,1,1],[1,1,1,1,1,1,1,1],[1,1,1,1,0,0,0,0],[1,1,1,1,0,0,0,0],[1,1,1,1,0,0,0,0],[1,1,1,1,0,0,0,0]]
@@ -66,9 +71,10 @@ Notice that 0 represnts False and 1 represents True in the photo representing th
6671
The topLeft, bottomLeft and bottomRight each has the same value.
6772
The topRight have different values so we divide it into 4 sub-grids where each has the same value.
6873
Explanation is shown in the photo below:
69-
<img alt="" src="https://assets.leetcode.com/uploads/2020/02/12/e2tree.png" style="width: 777px; height: 328px;" />
7074
</pre>
7175

76+
![](./images/e2tree.png)
77+
7278
<p><strong>Example 3:</strong></p>
7379

7480
<pre>
Loading
Loading
Loading
Loading
Loading
Loading
Loading
Loading

solution/0400-0499/0430.Flatten a Multilevel Doubly Linked List/README_EN.md

+7-5
Original file line numberDiff line numberDiff line change
@@ -15,14 +15,16 @@
1515
<strong>Output:</strong> [1,2,3,7,8,11,12,9,10,4,5,6]
1616
<strong>Explanation:
1717
</strong>
18-
The multilevel linked list in the input is as follows:
18+
The multilevel linked list in the input is as follows:</pre>
1919

20-
<img src="https://assets.leetcode.com/uploads/2018/10/12/multilevellinkedlist.png" style="width: 640px;" />
2120

22-
After flattening the multilevel linked list it becomes:
21+
![](./images/multilevellinkedlist.png)
22+
23+
<pre>
24+
After flattening the multilevel linked list it becomes:</pre>
25+
26+
![](./images/multilevellinkedlistflattened.png)
2327

24-
<img src="https://assets.leetcode.com/uploads/2018/10/12/multilevellinkedlistflattened.png" style="width: 1100px;" />
25-
</pre>
2628

2729
<p><strong>Example 2:</strong></p>
2830

solution/0500-0599/0558.Logical OR of Two Binary Grids Represented as Quad-Trees/README_EN.md

+10-3
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,9 @@ class Node {
3535
<li>If the current grid has different values, set <code>isLeaf</code> to False and&nbsp;set <code>val</code> to any value and divide the current grid into four sub-grids as shown in the photo.</li>
3636
<li>Recurse for each of the children with the proper sub-grid.</li>
3737
</ol>
38-
<img alt="" src="https://assets.leetcode.com/uploads/2020/02/11/new_top.png" style="width: 777px; height: 181px;" />
38+
39+
![](./images/new_top.png)
40+
3941
<p>If you want to know more about the Quad-Tree, you can refer to the&nbsp;<a href="https://en.wikipedia.org/wiki/Quadtree">wiki</a>.</p>
4042

4143
<p><strong>Quad-Tree&nbsp;format:</strong></p>
@@ -48,17 +50,22 @@ class Node {
4850

4951
<p>&nbsp;</p>
5052
<p><strong>Example 1:</strong></p>
51-
<img alt="" src="https://assets.leetcode.com/uploads/2020/02/11/qt1.png" style="width: 550px; height: 196px;" /> <img alt="" src="https://assets.leetcode.com/uploads/2020/02/11/qt2.png" style="width: 550px; height: 278px;" />
53+
54+
![](./images/qt1.png)
55+
56+
![](./images/qt2.png)
57+
5258
<pre>
5359
<strong>Input:</strong> quadTree1 = [[0,1],[1,1],[1,1],[1,0],[1,0]]
5460
, quadTree2 = [[0,1],[1,1],[0,1],[1,1],[1,0],null,null,null,null,[1,0],[1,0],[1,1],[1,1]]
5561
<strong>Output:</strong> [[0,0],[1,1],[1,1],[1,1],[1,0]]
5662
<strong>Explanation:</strong> quadTree1 and quadTree2 are shown above. You can see the binary matrix which is represented by each Quad-Tree.
5763
If we apply logical bitwise OR on the two binary matrices we get the binary matrix below which is represented by the result Quad-Tree.
5864
Notice that the binary matrices shown are only for illustration, you don&#39;t have to construct the binary matrix to get the result tree.
59-
<img alt="" src="https://assets.leetcode.com/uploads/2020/02/11/qtr.png" style="width: 777px; height: 222px;" />
6065
</pre>
6166

67+
![](./images/qtr.png)
68+
6269
<p><strong>Example 2:</strong></p>
6370

6471
<pre>

solution/0600-0699/0636.Exclusive Time of Functions/README_EN.md

+1-7
Original file line numberDiff line numberDiff line change
@@ -35,9 +35,7 @@
3535

3636

3737

38-
<p><b><img alt="" src="https://assets.leetcode.com/uploads/2019/04/05/diag1b.png" style="width: 500px; height: 218px;" /></b></p>
39-
40-
38+
![](./images/diag1b.png)
4139

4240
<pre>
4341

@@ -72,13 +70,9 @@ So function 0 spends 2 + 1 = 3 units of total time executing, and function 1 spe
7270

7371

7472
<ol>
75-
7673
<li><code>1 &lt;= n &lt;= 100</code></li>
77-
7874
<li>Two functions won&#39;t start or end at the same time.</li>
79-
8075
<li>Functions will always log when they exit.</li>
81-
8276
</ol>
8377

8478

Loading

solution/0700-0799/0743.Network Delay Time/README_EN.md

+1-9
Original file line numberDiff line numberDiff line change
@@ -22,10 +22,7 @@
2222
<p><strong>Example 1:</strong></p>
2323

2424

25-
26-
<p><img alt="" src="https://assets.leetcode.com/uploads/2019/05/23/931_example_1.png" style="width: 200px; height: 220px;" /></p>
27-
28-
25+
![](./images/931_example_1.png)
2926

3027
<pre>
3128

@@ -46,15 +43,10 @@
4643

4744

4845
<ol>
49-
5046
<li><code>N</code> will be in the range <code>[1, 100]</code>.</li>
51-
5247
<li><code>K</code> will be in the range <code>[1, N]</code>.</li>
53-
5448
<li>The length of <code>times</code> will be in the range <code>[1, 6000]</code>.</li>
55-
5649
<li>All edges <code>times[i] = (u, v, w)</code> will have <code>1 &lt;= u, v &lt;= N</code> and <code>0 &lt;= w &lt;= 100</code>.</li>
57-
5850
</ol>
5951

6052

Loading
Loading

solution/0800-0899/0838.Push Dominoes/README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88

99
<p>在开始时,我们同时把一些多米诺骨牌向左或向右推。</p>
1010

11-
<p><img alt="" src="https://aliyun-lc-upload.oss-cn-hangzhou.aliyuncs.com/aliyun-lc-upload/uploads/2018/05/19/domino.png" style="height: 160px; width: 418px;"></p>
11+
![](./images/domino.png)
1212

1313
<p>每过一秒,倒向左边的多米诺骨牌会推动其左侧相邻的多米诺骨牌。</p>
1414

solution/0800-0899/0838.Push Dominoes/README_EN.md

+1-8
Original file line numberDiff line numberDiff line change
@@ -9,11 +9,7 @@
99

1010
<p>In the beginning, we simultaneously push&nbsp;some of the dominoes either to the left or to the right.</p>
1111

12-
13-
14-
<p><img alt="" src="https://s3-lc-upload.s3.amazonaws.com/uploads/2018/05/18/domino.png" style="height: 160px;" /></p>
15-
16-
12+
![](./images/domino.png)
1713

1814
<p>After each second, each domino that is falling to the left pushes the adjacent domino on the left.</p>
1915

@@ -74,11 +70,8 @@
7470

7571

7672
<ol>
77-
7873
<li><code>0 &lt;= N&nbsp;&lt;= 10^5</code></li>
79-
8074
<li>String&nbsp;<code>dominoes</code> contains only&nbsp;<code>&#39;L</code>&#39;, <code>&#39;R&#39;</code> and <code>&#39;.&#39;</code></li>
81-
8275
</ol>
8376

8477

Loading

solution/0800-0899/0858.Mirror Reflection/README.md

+3-1
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,9 @@
1717
<pre><strong>输入: </strong>p = 2, q = 1
1818
<strong>输出: </strong>2
1919
<strong>解释: </strong>这条光线在第一次被反射回左边的墙时就遇到了接收器 2 。
20-
<img alt="" src="https://ibb.co/mYSFJT"><img alt="" src="https://aliyun-lc-upload.oss-cn-hangzhou.aliyuncs.com/aliyun-lc-upload/uploads/2018/06/22/reflection.png" style="height: 217px; width: 218px;"></pre>
20+
</pre>
21+
22+
![](./images/reflection.png)
2123

2224
<p>&nbsp;</p>
2325

solution/0800-0899/0858.Mirror Reflection/README_EN.md

+1-5
Original file line numberDiff line numberDiff line change
@@ -33,11 +33,10 @@
3333

3434
<strong>Explanation: </strong>The ray meets receptor 2 the first time it gets reflected back to the left wall.
3535

36-
<p><img alt="" src="https://ibb.co/mYSFJT" /><img alt="" src="https://s3-lc-upload.s3.amazonaws.com/uploads/2018/06/18/reflection.png" style="width: 218px; height: 217px;" /></p>
37-
3836
</pre>
3937

4038

39+
![](./images/reflection.png)
4140

4241

4342

@@ -46,11 +45,8 @@
4645

4746

4847
<ol>
49-
5048
<li><code>1 &lt;= p &lt;= 1000</code></li>
51-
5249
<li><code>0 &lt;= q &lt;= p</code></li>
53-
5450
</ol>
5551

5652
</div>
Loading

solution/0800-0899/0867.Transpose Matrix/README_EN.md

+1-4
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313

1414
<br>
1515

16-
<img src="https://assets.leetcode.com/uploads/2019/10/20/hint_transpose.png" width="700"/>
16+
![](./images/hint_transpose.png)
1717

1818

1919

@@ -62,11 +62,8 @@
6262

6363

6464
<ol>
65-
6665
<li><code><span>1 &lt;= A.length&nbsp;&lt;= 1000</span></code></li>
67-
6866
<li><code><span>1 &lt;= A[0].length&nbsp;&lt;= 1000</span></code></li>
69-
7067
</ol>
7168

7269
</div>
Loading

solution/0800-0899/0885.Spiral Matrix III/README.md

+4-3
Original file line numberDiff line numberDiff line change
@@ -23,19 +23,20 @@
2323
<pre><strong>输入:</strong>R = 1, C = 4, r0 = 0, c0 = 0
2424
<strong>输出:</strong>[[0,0],[0,1],[0,2],[0,3]]
2525

26-
<img alt="" src="https://aliyun-lc-upload.oss-cn-hangzhou.aliyuncs.com/aliyun-lc-upload/uploads/2018/08/24/example_1.png" style="height: 99px; width: 174px;">
2726
</pre>
2827

28+
![](./images/example_1.png)
29+
2930
<p>&nbsp;</p>
3031

3132
<p><strong>示例 2:</strong></p>
3233

3334
<pre><strong>输入:</strong>R = 5, C = 6, r0 = 1, c0 = 4
3435
<strong>输出:</strong>[[1,4],[1,5],[2,5],[2,4],[2,3],[1,3],[0,3],[0,4],[0,5],[3,5],[3,4],[3,3],[3,2],[2,2],[1,2],[0,2],[4,5],[4,4],[4,3],[4,2],[4,1],[3,1],[2,1],[1,1],[0,1],[4,0],[3,0],[2,0],[1,0],[0,0]]
35-
36-
<img alt="" src="https://aliyun-lc-upload.oss-cn-hangzhou.aliyuncs.com/aliyun-lc-upload/uploads/2018/08/24/example_2.png" style="height: 142px; width: 202px;">
3736
</pre>
3837

38+
![](./images/example_2.png)
39+
3940
<p>&nbsp;</p>
4041

4142
<p><strong>提示:</strong></p>

0 commit comments

Comments
 (0)