Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore: update lc problems: No.0279~No.0283 #1141

Merged
merged 1 commit into from
Jul 5, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 4 additions & 4 deletions solution/0200-0299/0279.Perfect Squares/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,16 +15,16 @@
<p><strong>示例&nbsp;1:</strong></p>

<pre>
<strong>输入:</strong>n = <code>12</code>
<strong>输入:</strong>n = 12
<strong>输出:</strong>3
<strong>解释:</strong><code>12 = 4 + 4 + 4</code></pre>
<strong>解释:</strong>12 = 4 + 4 + 4</pre>

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

<pre>
<strong>输入:</strong>n = <code>13</code>
<strong>输入:</strong>n = 13
<strong>输出:</strong>2
<strong>解释:</strong><code>13 = 4 + 9</code></pre>
<strong>解释:</strong>13 = 4 + 9</pre>

&nbsp;

Expand Down
2 changes: 1 addition & 1 deletion solution/0200-0299/0280.Wiggle Sort/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
<p><strong>示例 1:</strong></p>

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

Expand Down
8 changes: 4 additions & 4 deletions solution/0200-0299/0281.Zigzag Iterator/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,10 +14,10 @@
v1 = [1,2]
v2 = [3,4,5,6]

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

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

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

Expand All @@ -29,7 +29,7 @@ v2 = [3,4,5,6]
[4,5,6,7]
[8,9]

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

## 解法
Expand Down
6 changes: 3 additions & 3 deletions solution/0200-0299/0282.Expression Add Operators/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,23 +15,23 @@
<p><strong>示例 1:</strong></p>

<pre>
<strong>输入:</strong> <code>num = </code>"123", target = 6
<strong>输入:</strong> num = "123", target = 6
<strong>输出: </strong>["1+2+3", "1*2*3"]
<strong>解释: </strong>“1*2*3” 和 “1+2+3” 的值都是6。
</pre>

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

<pre>
<strong>输入:</strong> <code>num = </code>"232", target = 8
<strong>输入:</strong> num = "232", target = 8
<strong>输出: </strong>["2*3+2", "2+3*2"]
<strong>解释:</strong> “2*3+2” 和 “2+3*2” 的值都是8。
</pre>

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

<pre>
<strong>输入:</strong> <code>num = </code>"3456237490", target = 9191
<strong>输入:</strong> num = "3456237490", target = 9191
<strong>输出: </strong>[]
<strong>解释: </strong>表达式 “3456237490” 无法得到 9191 。
</pre>
Expand Down
8 changes: 4 additions & 4 deletions solution/0200-0299/0283.Move Zeroes/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,15 +15,15 @@
<p><strong>示例 1:</strong></p>

<pre>
<strong>输入:</strong> nums = <code>[0,1,0,3,12]</code>
<strong>输出:</strong> <code>[1,3,12,0,0]</code>
<strong>输入:</strong> nums = [0,1,0,3,12]
<strong>输出:</strong> [1,3,12,0,0]
</pre>

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

<pre>
<strong>输入:</strong> nums = <code>[0]</code>
<strong>输出:</strong> <code>[0]</code></pre>
<strong>输入:</strong> nums = [0]
<strong>输出:</strong> [0]</pre>

<p>&nbsp;</p>

Expand Down
5 changes: 5 additions & 0 deletions solution/config.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,11 @@
30,
33,
34,
279,
280,
281,
282,
283,
375,
465,
638,
Expand Down