Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit 70fc951

Browse files
chore: update lc problems: No.0279~No.0283 (#1141)
1 parent 62fc0d2 commit 70fc951

File tree

6 files changed

+21
-16
lines changed

6 files changed

+21
-16
lines changed

‎solution/0200-0299/0279.Perfect Squares/README.md‎

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -15,16 +15,16 @@
1515
<p><strong>示例&nbsp;1:</strong></p>
1616

1717
<pre>
18-
<strong>输入:</strong>n = <code>12</code>
18+
<strong>输入:</strong>n = 12
1919
<strong>输出:</strong>3
20-
<strong>解释:</strong><code>12 = 4 + 4 + 4</code></pre>
20+
<strong>解释:</strong>12 = 4 + 4 + 4</pre>
2121

2222
<p><strong>示例 2:</strong></p>
2323

2424
<pre>
25-
<strong>输入:</strong>n = <code>13</code>
25+
<strong>输入:</strong>n = 13
2626
<strong>输出:</strong>2
27-
<strong>解释:</strong><code>13 = 4 + 9</code></pre>
27+
<strong>解释:</strong>13 = 4 + 9</pre>
2828

2929
&nbsp;
3030

‎solution/0200-0299/0280.Wiggle Sort/README.md‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515
<p><strong>示例 1:</strong></p>
1616

1717
<pre>
18-
<strong>输入:</strong><code>nums = [3,5,2,1,6,4]</code>
18+
<strong>输入:</strong>nums = [3,5,2,1,6,4]
1919
<strong>输出:</strong>[3,5,1,6,2,4]
2020
<strong>解释:</strong>[1,6,2,5,3,4]也是有效的答案</pre>
2121

‎solution/0200-0299/0281.Zigzag Iterator/README.md‎

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -14,10 +14,10 @@
1414
v1 = [1,2]
1515
v2 = [3,4,5,6]
1616

17-
<strong>输出:</strong> <code>[1,3,2,4,5,6]
17+
<strong>输出:</strong> [1,3,2,4,5,6]
1818

19-
<strong>解析:</strong></code>&nbsp;通过连续调用 <em>next</em> 函数直到 <em>hasNext</em> 函数返回 <code>false,</code>
20-
&nbsp; <em>next</em> 函数返回值的次序应依次为: <code>[1,3,2,4,5,6]。</code></pre>
19+
<strong>解析:</strong>&nbsp;通过连续调用 <em>next</em> 函数直到 <em>hasNext</em> 函数返回 false,
20+
&nbsp; <em>next</em> 函数返回值的次序应依次为: [1,3,2,4,5,6]。</pre>
2121

2222
<p><strong>拓展:</strong>假如给你&nbsp;<code>k</code>&nbsp;个一维向量呢?你的代码在这种情况下的扩展性又会如何呢?</p>
2323

@@ -29,7 +29,7 @@ v2 = [3,4,5,6]
2929
[4,5,6,7]
3030
[8,9]
3131

32-
<strong>输出: </strong><code>[1,4,8,2,5,9,3,6,7]</code>.
32+
<strong>输出: </strong>[1,4,8,2,5,9,3,6,7].
3333
</pre>
3434

3535
## 解法

‎solution/0200-0299/0282.Expression Add Operators/README.md‎

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -15,23 +15,23 @@
1515
<p><strong>示例 1:</strong></p>
1616

1717
<pre>
18-
<strong>输入:</strong> <code>num = </code>"123", target = 6
18+
<strong>输入:</strong> num = "123", target = 6
1919
<strong>输出: </strong>["1+2+3", "1*2*3"]
2020
<strong>解释: </strong>"1*2*3" 和 "1+2+3" 的值都是6。
2121
</pre>
2222

2323
<p><strong>示例&nbsp;2:</strong></p>
2424

2525
<pre>
26-
<strong>输入:</strong> <code>num = </code>"232", target = 8
26+
<strong>输入:</strong> num = "232", target = 8
2727
<strong>输出: </strong>["2*3+2", "2+3*2"]
2828
<strong>解释:</strong> "2*3+2" 和 "2+3*2" 的值都是8。
2929
</pre>
3030

3131
<p><strong>示例 3:</strong></p>
3232

3333
<pre>
34-
<strong>输入:</strong> <code>num = </code>"3456237490", target = 9191
34+
<strong>输入:</strong> num = "3456237490", target = 9191
3535
<strong>输出: </strong>[]
3636
<strong>解释: </strong>表达式 "3456237490" 无法得到 9191 。
3737
</pre>

‎solution/0200-0299/0283.Move Zeroes/README.md‎

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -15,15 +15,15 @@
1515
<p><strong>示例 1:</strong></p>
1616

1717
<pre>
18-
<strong>输入:</strong> nums = <code>[0,1,0,3,12]</code>
19-
<strong>输出:</strong> <code>[1,3,12,0,0]</code>
18+
<strong>输入:</strong> nums = [0,1,0,3,12]
19+
<strong>输出:</strong> [1,3,12,0,0]
2020
</pre>
2121

2222
<p><strong>示例 2:</strong></p>
2323

2424
<pre>
25-
<strong>输入:</strong> nums = <code>[0]</code>
26-
<strong>输出:</strong> <code>[0]</code></pre>
25+
<strong>输入:</strong> nums = [0]
26+
<strong>输出:</strong> [0]</pre>
2727

2828
<p>&nbsp;</p>
2929

‎solution/config.py‎

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,11 @@
44
30,
55
33,
66
34,
7+
279,
8+
280,
9+
281,
10+
282,
11+
283,
712
375,
813
465,
914
638,

0 commit comments

Comments
(0)

AltStyle によって変換されたページ (->オリジナル) /