Skip to content

Commit 19e2c5e

Browse files
authored
feat: update lc problems: No.0322, No.0323 (#1573)
1 parent c95294b commit 19e2c5e

File tree

3 files changed

+7
-5
lines changed

3 files changed

+7
-5
lines changed

solution/0300-0399/0322.Coin Change/README.md

+3-3
Original file line numberDiff line numberDiff line change
@@ -17,14 +17,14 @@
1717
<p><strong>示例&nbsp;1:</strong></p>
1818

1919
<pre>
20-
<strong>输入:</strong>coins = <code>[1, 2, 5]</code>, amount = <code>11</code>
21-
<strong>输出:</strong><code>3</code>
20+
<strong>输入:</strong>coins = [1, 2, 5], amount = 11
21+
<strong>输出:</strong>3
2222
<strong>解释:</strong>11 = 5 + 5 + 1</pre>
2323

2424
<p><strong>示例 2:</strong></p>
2525

2626
<pre>
27-
<strong>输入:</strong>coins = <code>[2]</code>, amount = <code>3</code>
27+
<strong>输入:</strong>coins = [2], amount = 3
2828
<strong>输出:</strong>-1</pre>
2929

3030
<p><strong>示例 3:</strong></p>

solution/0300-0399/0323.Number of Connected Components in an Undirected Graph/README.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@
1717
<p><img src="https://fastly.jsdelivr.net/gh/doocs/leetcode@main/solution/0300-0399/0323.Number%20of%20Connected%20Components%20in%20an%20Undirected%20Graph/images/conn1-graph.jpg" /></p>
1818

1919
<pre>
20-
<strong>输入: </strong><code>n = 5</code>, <code>edges = [[0, 1], [1, 2], [3, 4]]</code>
20+
<strong>输入: </strong>n = 5, edges = [[0, 1], [1, 2], [3, 4]]
2121
<strong>输出: </strong>2
2222
</pre>
2323

@@ -26,7 +26,7 @@
2626
<p><img src="https://fastly.jsdelivr.net/gh/doocs/leetcode@main/solution/0300-0399/0323.Number%20of%20Connected%20Components%20in%20an%20Undirected%20Graph/images/conn2-graph.jpg" /></p>
2727

2828
<pre>
29-
<strong>输入: </strong><code>n = 5,</code> <code>edges = [[0,1], [1,2], [2,3], [3,4]]</code>
29+
<strong>输入: </strong>n = 5, edges = [[0,1], [1,2], [2,3], [3,4]]
3030
<strong>输出:&nbsp;&nbsp;</strong>1</pre>
3131

3232
<p>&nbsp;</p>

solution/config.py

+2
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,8 @@
2929
283,
3030
298,
3131
320,
32+
322,
33+
323,
3234
336,
3335
375,
3436
465,

0 commit comments

Comments
 (0)