Skip to content

Commit 6ef4677

Browse files
committedMar 17, 2020
feat: generate English README for leetcode questions
生成 README_EN 文件
1 parent 2e2f1ca commit 6ef4677

File tree

1,389 files changed

+77334
-966
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,389 files changed

+77334
-966
lines changed
 

‎solution/0001.Two Sum/README_EN.md

+41
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,41 @@
1+
# [1. Two Sum](https://leetcode.com/problems/two-sum)
2+
3+
## Description
4+
<p>Given an array of integers, return <strong>indices</strong> of the two numbers such that they add up to a specific target.</p>
5+
6+
<p>You may assume that each input would have <strong><em>exactly</em></strong> one solution, and you may not use the <em>same</em> element twice.</p>
7+
8+
<p><strong>Example:</strong></p>
9+
10+
<pre>
11+
Given nums = [2, 7, 11, 15], target = 9,
12+
13+
Because nums[<strong>0</strong>] + nums[<strong>1</strong>] = 2 + 7 = 9,
14+
return [<strong>0</strong>, <strong>1</strong>].
15+
</pre>
16+
17+
18+
19+
## Solution
20+
<!-- Type common method here -->
21+
22+
23+
### Python3
24+
<!-- Type special method here -->
25+
26+
```python
27+
28+
```
29+
30+
### Java
31+
<!-- Type special method here -->
32+
33+
```java
34+
35+
```
36+
37+
### ...
38+
```
39+
40+
```
41+

‎solution/0002.Add Two Numbers/README_EN.md

+40
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,40 @@
1+
# [2. Add Two Numbers](https://leetcode.com/problems/add-two-numbers)
2+
3+
## Description
4+
<p>You are given two <b>non-empty</b> linked lists representing two non-negative integers. The digits are stored in <b>reverse order</b> and each of their nodes contain a single digit. Add the two numbers and return it as a linked list.</p>
5+
6+
<p>You may assume the two numbers do not contain any leading zero, except the number 0 itself.</p>
7+
8+
<p><b>Example:</b></p>
9+
10+
<pre>
11+
<b>Input:</b> (2 -&gt; 4 -&gt; 3) + (5 -&gt; 6 -&gt; 4)
12+
<b>Output:</b> 7 -&gt; 0 -&gt; 8
13+
<b>Explanation:</b> 342 + 465 = 807.
14+
</pre>
15+
16+
17+
18+
## Solution
19+
<!-- Type common method here -->
20+
21+
22+
### Python3
23+
<!-- Type special method here -->
24+
25+
```python
26+
27+
```
28+
29+
### Java
30+
<!-- Type special method here -->
31+
32+
```java
33+
34+
```
35+
36+
### ...
37+
```
38+
39+
```
40+

0 commit comments

Comments
 (0)
Please sign in to comment.