Skip to content

Commit 05db933

Browse files
authoredAug 3, 2023
chore: update lc problem: No.2788 (#1380)
1 parent 37516b7 commit 05db933

File tree

3 files changed

+7
-6
lines changed

3 files changed

+7
-6
lines changed
 

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

+3-3
Original file line numberDiff line numberDiff line change
@@ -36,12 +36,12 @@
3636
<p><strong>示例 2:</strong></p>
3737

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

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

4646
因此,结果数组为 ["easy","problem"] 。
4747
</pre>

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

+3-3
Original file line numberDiff line numberDiff line change
@@ -33,12 +33,12 @@ 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;$&quot;
36+
<strong>Input:</strong> words = [&quot;$easy$&quot;,&quot;$problem$&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

40-
&quot;$easy$&quot; splits into &quot;easy&quot; (excluding empty strings)
41-
&quot;$problem$&quot; splits into &quot;problem&quot; (excluding empty strings)
40+
&quot;&#36;easy&#36;&quot; splits into &quot;easy&quot; (excluding empty strings)
41+
&quot;&#36;problem&#36;&quot; splits into &quot;problem&quot; (excluding empty strings)
4242

4343
Hence, the resulting array is [&quot;easy&quot;,&quot;problem&quot;].
4444
</pre>

‎solution/config.py

+1
Original file line numberDiff line numberDiff line change
@@ -74,6 +74,7 @@
7474
2606,
7575
2643,
7676
2682,
77+
2788,
7778
2790,
7879
2800,
7980
]

0 commit comments

Comments
 (0)