Skip to content

Commit 2d716a9

Browse files
committed
feat: add solutions to lc problem: No.1756
No.1756.Design Most Recently Used Queue
1 parent 42bda89 commit 2d716a9

File tree

154 files changed

+802
-449
lines changed

Some content is hidden

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

154 files changed

+802
-449
lines changed

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

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -87,13 +87,11 @@ table.dungeon, .dungeon th, .dungeon td {
8787
<p><strong>说明:</strong></p>
8888

8989
<ul>
90-
9190
<li>
9291

9392
<p>骑士的健康点数没有上限。</p>
9493

9594
</li>
96-
9795
<li>任何房间都可能对骑士的健康点数造成威胁,也可能增加骑士的健康点数,包括骑士进入的左上角房间以及公主被监禁的右下角房间。</li>
9896

9997
</ul>

solution/0100-0199/0192.Word Frequency/README_EN.md

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -9,11 +9,8 @@
99
<p>For simplicity sake, you may assume:</p>
1010

1111
<ul>
12-
1312
<li><code>words.txt</code> contains only lowercase characters and space <code>&#39; &#39;</code> characters.</li>
14-
1513
<li>Each word must consist of lowercase characters only.</li>
16-
1714
<li>Words are separated by one or more whitespace characters.</li>
1815

1916
</ul>
@@ -47,9 +44,7 @@ day 1
4744
<p><b>Note:</b></p>
4845

4946
<ul>
50-
5147
<li>Don&#39;t worry about handling ties, it is guaranteed that each word&#39;s frequency count is unique.</li>
52-
5348
<li>Could you write it in one-line using <a href="http://tldp.org/HOWTO/Bash-Prog-Intro-HOWTO-4.html">Unix pipes</a>?</li>
5449

5550
</ul>

solution/0300-0399/0320.Generalized Abbreviation/README.md

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,6 @@
1010

1111
<ul>
1212
<li>例如,<code>"abcde"</code> 可以缩写为:
13-
1413
<ul>
1514
<li><code>"a3e"</code>(<code>"bcd"</code> 变为 <code>"3"</code> )</li>
1615
<li><code>"1bcd1"</code>(<code>"a"</code> 和 <code>"e"</code> 都变为 <code>"1"</code>)<meta charset="UTF-8" /></li>

solution/0300-0399/0320.Generalized Abbreviation/README_EN.md

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,6 @@
88

99
<ul>
1010
<li>For example, <code>&quot;abcde&quot;</code> can be abbreviated into:
11-
1211
<ul>
1312
<li><code>&quot;a3e&quot;</code> (<code>&quot;bcd&quot;</code> turned into <code>&quot;3&quot;</code>)</li>
1413
<li><code>&quot;1bcd1&quot;</code> (<code>&quot;a&quot;</code> and <code>&quot;e&quot;</code> both turned into <code>&quot;1&quot;</code>)</li>

solution/0300-0399/0336.Palindrome Pairs/README.md

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -32,8 +32,6 @@
3232
<strong>输出:</strong>[[0,1],[1,0]]
3333
</pre>
3434

35-
36-
3735
<p><strong>提示:</strong></p>
3836

3937
<ul>

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

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -28,8 +28,6 @@
2828
<strong>输出:</strong>3
2929
</pre>
3030

31-
32-
3331
<p><strong>提示:</strong></p>
3432

3533
<ul>

solution/0500-0599/0587.Erect the Fence/README.md

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -41,15 +41,10 @@
4141
<p><strong>注意:</strong></p>
4242

4343
<ol>
44-
4544
<li>所有的树应当被围在一起。你不能剪断绳子来包围树或者把树分成一组以上。</li>
46-
4745
<li>输入的整数在 0 到 100 之间。</li>
48-
4946
<li>花园至少有一棵树。</li>
50-
5147
<li>所有树的坐标都是不同的。</li>
52-
5348
<li>输入的点<strong>没有</strong>顺序。输出顺序也没有要求。</li>
5449

5550
</ol>

solution/0500-0599/0594.Longest Harmonious Subsequence/README_EN.md

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -49,9 +49,7 @@
4949
<p><strong>Constraints:</strong></p>
5050

5151
<ul>
52-
5352
<li><code>1 &lt;= nums.length &lt;= 2 * 10<sup>4</sup></code></li>
54-
5553
<li><code>-10<sup>9</sup> &lt;= nums[i] &lt;= 10<sup>9</sup></code></li>
5654

5755
</ul>

solution/0600-0699/0679.24 Game/README.md

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,6 @@
1212

1313
<ul>
1414
<li>除法运算符 <code>'/'</code> 表示实数除法,而不是整数除法。
15-
1615
<ul>
1716
<li>例如,&nbsp;<code>4 /(1 - 2 / 3)= 4 /(1 / 3)= 12</code>&nbsp;。</li>
1817
</ul>

solution/0600-0699/0679.24 Game/README_EN.md

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,6 @@
1010

1111
<ul>
1212
<li>The division operator <code>&#39;/&#39;</code> represents real division, not integer division.
13-
1413
<ul>
1514
<li>For example, <code>4 / (1 - 2 / 3) = 4 / (1 / 3) = 12</code>.</li>
1615
</ul>

0 commit comments

Comments
 (0)