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 problem: No.2788 #1380

Merged
merged 1 commit into from
Aug 3, 2023
Merged
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
6 changes: 3 additions & 3 deletions solution/2700-2799/2788.Split Strings by Separator/README.md
Original file line number Diff line number Diff line change
@@ -36,12 +36,12 @@
<p><strong>示例 2:</strong></p>

<pre>
<strong>输入:</strong>words = ["$easy$","$problem$"], separator = "$"
<strong>输入:</strong>words = ["easy","problem"], separator = "&#36;"
<strong>输出:</strong>["easy","problem"]
<strong>解释:</strong>在本示例中,我们进行下述拆分:

"$easy$" 拆分为 "easy"(不包括空字符串)
"$problem$" 拆分为 "problem"(不包括空字符串)
"&#36;easy&#36;" 拆分为 "easy"(不包括空字符串)
"&#36;problem&#36;" 拆分为 "problem"(不包括空字符串)

因此,结果数组为 ["easy","problem"] 。
</pre>
Original file line number Diff line number Diff line change
@@ -33,12 +33,12 @@ Hence, the resulting array is [&quot;one&quot;,&quot;two&quot;,&quot;three&quot;
<p><strong class="example">Example 2:</strong></p>

<pre>
<strong>Input:</strong> words = [&quot;$easy$&quot;,&quot;$problem$&quot;], separator = &quot;$&quot;
<strong>Input:</strong> words = [&quot;$easy$&quot;,&quot;$problem$&quot;], separator = &quot;&#36;&quot;
<strong>Output:</strong> [&quot;easy&quot;,&quot;problem&quot;]
<strong>Explanation:</strong> In this example we split as follows:

&quot;$easy$&quot; splits into &quot;easy&quot; (excluding empty strings)
&quot;$problem$&quot; splits into &quot;problem&quot; (excluding empty strings)
&quot;&#36;easy&#36;&quot; splits into &quot;easy&quot; (excluding empty strings)
&quot;&#36;problem&#36;&quot; splits into &quot;problem&quot; (excluding empty strings)

Hence, the resulting array is [&quot;easy&quot;,&quot;problem&quot;].
</pre>
1 change: 1 addition & 0 deletions solution/config.py
Original file line number Diff line number Diff line change
@@ -74,6 +74,7 @@
2606,
2643,
2682,
2788,
2790,
2800,
]