Skip to content

Commit 1c5e57c

Browse files
authored
chore: update lc problem: No.2788 (doocs#1381)
1 parent 05db933 commit 1c5e57c

File tree

2 files changed

+6
-6
lines changed

2 files changed

+6
-6
lines changed

solution/2700-2799/2788.Split Strings by Separator/README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@
3636
<p><strong>示例 2:</strong></p>
3737

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

@@ -60,8 +60,8 @@
6060
<ul>
6161
<li><code>1 &lt;= words.length &lt;= 100</code></li>
6262
<li><code>1 &lt;= words[i].length &lt;= 20</code></li>
63-
<li><code>words[i]</code> 中的字符要么是小写英文字母,要么就是字符串 <code>".,|$#@"</code> 中的字符(不包括引号)</li>
64-
<li><code>separator</code> 是字符串 <code>".,|$#@"</code> 中的某个字符(不包括引号)</li>
63+
<li><code>words[i]</code> 中的字符要么是小写英文字母,要么就是字符串 <code>".,|&#36;#@"</code> 中的字符(不包括引号)</li>
64+
<li><code>separator</code> 是字符串 <code>".,|&#36;#@"</code> 中的某个字符(不包括引号)</li>
6565
</ul>
6666

6767
## 解法

solution/2700-2799/2788.Split Strings by Separator/README_EN.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ Hence, the resulting array is [&quot;one&quot;,&quot;two&quot;,&quot;three&quot;
3333
<p><strong class="example">Example 2:</strong></p>
3434

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

@@ -56,8 +56,8 @@ Hence, the resulting array is [&quot;easy&quot;,&quot;problem&quot;].
5656
<ul>
5757
<li><code>1 &lt;= words.length &lt;= 100</code></li>
5858
<li><code>1 &lt;= words[i].length &lt;= 20</code></li>
59-
<li>characters in <code>words[i]</code> are either lowercase English letters or characters from the string <code>&quot;.,|$#@&quot;</code> (excluding the quotes)</li>
60-
<li><code>separator</code> is a character from the string <code>&quot;.,|$#@&quot;</code> (excluding the quotes)</li>
59+
<li>characters in <code>words[i]</code> are either lowercase English letters or characters from the string <code>&quot;.,|&#36;#@&quot;</code> (excluding the quotes)</li>
60+
<li><code>separator</code> is a character from the string <code>&quot;.,|&#36;#@&quot;</code> (excluding the quotes)</li>
6161
</ul>
6262

6363
## Solutions

0 commit comments

Comments
 (0)