Skip to content

Commit 0ee718c

Browse files
committed
feat: use relative path
1 parent d5cc3ac commit 0ee718c

File tree

1,227 files changed

+52536
-35251
lines changed

Some content is hidden

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

1,227 files changed

+52536
-35251
lines changed

solution/0000-0099/0002.Add Two Numbers/README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515
<p> </p>
1616

1717
<p><strong>示例 1:</strong></p>
18-
<img alt="" src="https://assets.leetcode-cn.com/aliyun-lc-upload/uploads/2021/01/02/addtwonumber1.jpg" style="width: 483px; height: 342px;" />
18+
<img alt="" src="/solution/0000-0099/0002.Add Two Numbers/images/addtwonumber1.jpg" style="width: 483px; height: 342px;" />
1919
<pre>
2020
<strong>输入:</strong>l1 = [2,4,3], l2 = [5,6,4]
2121
<strong>输出:</strong>[7,0,8]

solution/0000-0099/0002.Add Two Numbers/README_EN.md

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

1111
<p>&nbsp;</p>
1212
<p><strong>Example 1:</strong></p>
13-
<img alt="" src="https://assets.leetcode.com/uploads/2020/10/02/addtwonumber1.jpg" style="width: 483px; height: 342px;" />
13+
<img alt="" src="/solution/0000-0099/0002.Add Two Numbers/images/addtwonumber1.jpg" style="width: 483px; height: 342px;" />
1414
<pre>
1515
<strong>Input:</strong> l1 = [2,4,3], l2 = [5,6,4]
1616
<strong>Output:</strong> [7,0,8]
Original file line numberDiff line numberDiff line change
@@ -1,69 +1,104 @@
1-
# [5. Longest Palindromic Substring](https://leetcode.com/problems/longest-palindromic-substring)
2-
3-
[中文文档](/solution/0000-0099/0005.Longest%20Palindromic%20Substring/README.md)
4-
5-
## Description
6-
7-
<p>Given a string <code>s</code>, return&nbsp;<em>the longest palindromic substring</em> in <code>s</code>.</p>
8-
9-
<p>&nbsp;</p>
10-
<p><strong>Example 1:</strong></p>
11-
12-
<pre>
13-
<strong>Input:</strong> s = &quot;babad&quot;
14-
<strong>Output:</strong> &quot;bab&quot;
15-
<strong>Note:</strong> &quot;aba&quot; is also a valid answer.
16-
</pre>
17-
18-
<p><strong>Example 2:</strong></p>
19-
20-
<pre>
21-
<strong>Input:</strong> s = &quot;cbbd&quot;
22-
<strong>Output:</strong> &quot;bb&quot;
23-
</pre>
24-
25-
<p><strong>Example 3:</strong></p>
26-
27-
<pre>
28-
<strong>Input:</strong> s = &quot;a&quot;
29-
<strong>Output:</strong> &quot;a&quot;
30-
</pre>
31-
32-
<p><strong>Example 4:</strong></p>
33-
34-
<pre>
35-
<strong>Input:</strong> s = &quot;ac&quot;
36-
<strong>Output:</strong> &quot;a&quot;
37-
</pre>
38-
39-
<p>&nbsp;</p>
40-
<p><strong>Constraints:</strong></p>
41-
42-
<ul>
43-
<li><code>1 &lt;= s.length &lt;= 1000</code></li>
44-
<li><code>s</code> consist of only digits and English letters (lower-case and/or upper-case),</li>
45-
</ul>
46-
47-
## Solutions
48-
49-
<!-- tabs:start -->
50-
51-
### **Python3**
52-
53-
```python
54-
55-
```
56-
57-
### **Java**
58-
59-
```java
60-
61-
```
62-
63-
### **...**
64-
65-
```
66-
67-
```
68-
69-
<!-- tabs:end -->
1+
# [5. Longest Palindromic Substring](https://leetcode.com/problems/longest-palindromic-substring)
2+
3+
[中文文档](/solution/0000-0099/0005.Longest%20Palindromic%20Substring/README.md)
4+
5+
## Description
6+
7+
<p>Given a string <code>s</code>, return&nbsp;<em>the longest palindromic substring</em> in <code>s</code>.</p>
8+
9+
10+
11+
<p>&nbsp;</p>
12+
13+
<p><strong>Example 1:</strong></p>
14+
15+
16+
17+
<pre>
18+
19+
<strong>Input:</strong> s = &quot;babad&quot;
20+
21+
<strong>Output:</strong> &quot;bab&quot;
22+
23+
<strong>Note:</strong> &quot;aba&quot; is also a valid answer.
24+
25+
</pre>
26+
27+
28+
29+
<p><strong>Example 2:</strong></p>
30+
31+
32+
33+
<pre>
34+
35+
<strong>Input:</strong> s = &quot;cbbd&quot;
36+
37+
<strong>Output:</strong> &quot;bb&quot;
38+
39+
</pre>
40+
41+
42+
43+
<p><strong>Example 3:</strong></p>
44+
45+
46+
47+
<pre>
48+
49+
<strong>Input:</strong> s = &quot;a&quot;
50+
51+
<strong>Output:</strong> &quot;a&quot;
52+
53+
</pre>
54+
55+
56+
57+
<p><strong>Example 4:</strong></p>
58+
59+
60+
61+
<pre>
62+
63+
<strong>Input:</strong> s = &quot;ac&quot;
64+
65+
<strong>Output:</strong> &quot;a&quot;
66+
67+
</pre>
68+
69+
70+
71+
<p>&nbsp;</p>
72+
73+
<p><strong>Constraints:</strong></p>
74+
75+
76+
77+
<ul>
78+
<li><code>1 &lt;= s.length &lt;= 1000</code></li>
79+
<li><code>s</code> consist of only digits and English letters (lower-case and/or upper-case),</li>
80+
</ul>
81+
82+
## Solutions
83+
84+
<!-- tabs:start -->
85+
86+
### **Python3**
87+
88+
```python
89+
90+
```
91+
92+
### **Java**
93+
94+
```java
95+
96+
```
97+
98+
### **...**
99+
100+
```
101+
102+
```
103+
104+
<!-- tabs:end -->

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

+1-1
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414

1515
<p><strong>示例 1:</strong></p>
1616

17-
<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>
17+
<p><img alt="" src="/solution/0000-0099/0011.Container With Most Water/images/question_11.jpg" style="height: 287px; width: 600px;" /></p>
1818

1919
<pre>
2020
<strong>输入:</strong>[1,8,6,2,5,4,8,3,7]

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

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

1111
<p>&nbsp;</p>
1212
<p><strong>Example 1:</strong></p>
13-
<img alt="" src="https://s3-lc-upload.s3.amazonaws.com/uploads/2018/07/17/question_11.jpg" style="width: 600px; height: 287px;" />
13+
<img alt="" src="/solution/0000-0099/0011.Container With Most Water/images/question_11.jpg" style="width: 600px; height: 287px;" />
1414
<pre>
1515
<strong>Input:</strong> height = [1,8,6,2,5,4,8,3,7]
1616
<strong>Output:</strong> 49

0 commit comments

Comments
 (0)