Skip to content

Commit 7b1cc6d

Browse files
committed
docs: update readme documents
1 parent 2043bab commit 7b1cc6d

File tree

15 files changed

+3
-46
lines changed

15 files changed

+3
-46
lines changed

all.json

+1
Large diffs are not rendered by default.

images/cc-by-nc-sa-80x15.png

-488 Bytes
Binary file not shown.

images/cc-by-nc-sa-88x31.png

-1.73 KB
Binary file not shown.

lcci/08.11.Coin/README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@
3636
<p>你可以假设:</p>
3737

3838
<ul>
39-
<li>0 &lt;= n (总金额) &lt;= 1000000</li>
39+
<li>0 &lt;= n (总金额) &lt;= 1000000</li>
4040
</ul>
4141

4242
## 解法

lcci/16.02.Words Frequency/README_EN.md

-5
Original file line numberDiff line numberDiff line change
@@ -34,15 +34,10 @@ wordsFrequency.get(&quot;pen&quot;); //returns 1
3434
<p><strong>Note: </strong></p>
3535

3636
<ul>
37-
3837
<li><code>There are only lowercase letters in book[i].</code></li>
39-
4038
<li><code>1 &lt;= book.length &lt;= 100000</code></li>
41-
4239
<li><code>1 &lt;= book[i].length &lt;= 10</code></li>
43-
4440
<li><code>get</code>&nbsp;function will not be called more than&nbsp;100000 times.</li>
45-
4641
</ul>
4742

4843
## Solutions

lcp/README.md

+1
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
# LCP

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

-5
Original file line numberDiff line numberDiff line change
@@ -86,15 +86,10 @@ table.dungeon, .dungeon th, .dungeon td {
8686
<p><strong>说明:</strong></p>
8787

8888
<ul>
89-
9089
<li>
91-
9290
<p>骑士的健康点数没有上限。</p>
93-
9491
</li>
95-
9692
<li>任何房间都可能对骑士的健康点数造成威胁,也可能增加骑士的健康点数,包括骑士进入的左上角房间以及公主被监禁的右下角房间。</li>
97-
9893
</ul>
9994

10095
## 解法

solution/0200-0299/0289.Game of Life/README_EN.md

-3
Original file line numberDiff line numberDiff line change
@@ -54,11 +54,8 @@
5454
<p><b>Follow up</b>:</p>
5555

5656
<ol>
57-
5857
<li>Could you solve it in-place? Remember that the board needs to be updated at the same time: You cannot update some cells first and then use their updated values to update other cells.</li>
59-
6058
<li>In this question, we represent the board using a 2D array. In principle, the board is infinite, which would cause problems when the active area encroaches the border of the array. How would you address these problems?</li>
61-
6259
</ol>
6360

6461
## Solutions

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

-5
Original file line numberDiff line numberDiff line change
@@ -12,15 +12,10 @@
1212
<p>现在给出在所有<strong>未挖出的</strong>方块中(&#39;M&#39;或者&#39;E&#39;)的下一个点击位置(行和列索引),根据以下规则,返回相应位置被点击后对应的面板:</p>
1313

1414
<ol>
15-
1615
<li>如果一个地雷(&#39;M&#39;)被挖出,游戏就结束了- 把它改为&nbsp;<strong>&#39;X&#39;</strong>。</li>
17-
1816
<li>如果一个<strong>没有相邻地雷</strong>的空方块(&#39;E&#39;)被挖出,修改它为(&#39;B&#39;),并且所有和其相邻的方块都应该被递归地揭露。</li>
19-
2017
<li>如果一个<strong>至少与一个地雷相邻</strong>的空方块(&#39;E&#39;)被挖出,修改它为数字(&#39;1&#39;到&#39;8&#39;),表示相邻地雷的数量。</li>
21-
2218
<li>如果在此次点击中,若无更多方块可被揭露,则返回面板。</li>
23-
2419
</ol>
2520

2621
<p>&nbsp;</p>

solution/0800-0899/0825.Friends Of Appropriate Ages/README_EN.md

-7
Original file line numberDiff line numberDiff line change
@@ -9,13 +9,9 @@
99
<p>Person A will NOT friend request person B (B != A) if any of the following conditions are true:</p>
1010

1111
<ul>
12-
1312
<li><code>age[B]&nbsp;&lt;= 0.5 * age[A]&nbsp;+ 7</code></li>
14-
1513
<li><code>age[B]&nbsp;&gt; age[A]</code></li>
16-
1714
<li><code>age[B]&nbsp;&gt; 100 &amp;&amp;&nbsp;age[A]&nbsp;&lt; 100</code></li>
18-
1915
</ul>
2016

2117
<p>Otherwise, A will friend request B.</p>
@@ -63,11 +59,8 @@
6359
<p>Notes:</p>
6460

6561
<ul>
66-
6762
<li><code>1 &lt;= ages.length&nbsp;&lt;= 20000</code>.</li>
68-
6963
<li><code>1 &lt;= ages[i] &lt;= 120</code>.</li>
70-
7164
</ul>
7265

7366
## Solutions

solution/0800-0899/0841.Keys and Rooms/README_EN.md

-4
Original file line numberDiff line numberDiff line change
@@ -53,13 +53,9 @@ We then go to room 3. Since we were able to go to every room, we return true.
5353
<p><b>Note:</b></p>
5454

5555
<ol>
56-
5756
<li><code>1 &lt;= rooms.length &lt;=&nbsp;1000</code></li>
58-
5957
<li><code>0 &lt;= rooms[i].length &lt;= 1000</code></li>
60-
6158
<li>The number of keys in all rooms combined is at most&nbsp;<code>3000</code>.</li>
62-
6359
</ol>
6460

6561
## Solutions

solution/0900-0999/0904.Fruit Into Baskets/README_EN.md

-3
Original file line numberDiff line numberDiff line change
@@ -9,11 +9,8 @@
99
<p>You <strong>start at any tree&nbsp;of your choice</strong>, then repeatedly perform the following steps:</p>
1010

1111
<ol>
12-
1312
<li>Add one piece of fruit from this tree to your baskets.&nbsp; If you cannot, stop.</li>
14-
1513
<li>Move to the next tree to the right of the current tree.&nbsp; If there is no tree to the right, stop.</li>
16-
1714
</ol>
1815

1916
<p>Note that you do not have any choice after the initial choice of starting tree:&nbsp;you must perform step 1, then step 2, then back to step 1, then step 2, and so on until you stop.</p>

solution/1200-1299/1219.Path with Maximum Gold/README_EN.md

-4
Original file line numberDiff line numberDiff line change
@@ -67,13 +67,9 @@ Path to get the maximum gold, 1 -&gt; 2 -&gt; 3 -&gt; 4 -&gt; 5 -&gt; 6 -&gt; 7.
6767
<p><strong>Constraints:</strong></p>
6868

6969
<ul>
70-
7170
<li><code>1 &lt;= grid.length,&nbsp;grid[i].length &lt;= 15</code></li>
72-
7371
<li><code>0 &lt;= grid[i][j] &lt;= 100</code></li>
74-
7572
<li>There are at most <strong>25&nbsp;</strong>cells containing gold.</li>
76-
7773
</ul>
7874

7975
## Solutions

solution/1200-1299/1275.Find Winner on a Tic Tac Toe Game/README_EN.md

-6
Original file line numberDiff line numberDiff line change
@@ -102,17 +102,11 @@
102102
<p><strong>Constraints:</strong></p>
103103

104104
<ul>
105-
106105
<li><code>1 &lt;= moves.length &lt;= 9</code></li>
107-
108106
<li><code>moves[i].length == 2</code></li>
109-
110107
<li><code>0 &lt;= moves[i][j] &lt;= 2</code></li>
111-
112108
<li>There are no repeated elements on <code>moves</code>.</li>
113-
114109
<li><code>moves</code> follow the rules of tic tac toe.</li>
115-
116110
</ul>
117111

118112
## Solutions

solution/1400-1499/1442.Count Triplets That Can Form Two Arrays of Equal XOR/README_EN.md

-3
Original file line numberDiff line numberDiff line change
@@ -78,11 +78,8 @@
7878
<p><strong>Constraints:</strong></p>
7979

8080
<ul>
81-
8281
<li><code>1 &lt;= arr.length &lt;= 300</code></li>
83-
8482
<li><code>1 &lt;= arr[i] &lt;= 10^8</code></li>
85-
8683
</ul>
8784

8885
## Solutions

0 commit comments

Comments
 (0)