mirror of
https://gitee.com/coder-xiaomo/leetcode-problemset
synced 2025-09-04 06:51:41 +08:00
存量题库数据更新
This commit is contained in:
@@ -7,7 +7,7 @@
|
||||
<p>Return<strong> </strong><em>the modified string <strong>after</strong> the spaces have been added.</em></p>
|
||||
|
||||
<p> </p>
|
||||
<p><strong>Example 1:</strong></p>
|
||||
<p><strong class="example">Example 1:</strong></p>
|
||||
|
||||
<pre>
|
||||
<strong>Input:</strong> s = "LeetcodeHelpsMeLearn", spaces = [8,13,15]
|
||||
@@ -17,7 +17,7 @@ The indices 8, 13, and 15 correspond to the underlined characters in "Leetc
|
||||
We then place spaces before those characters.
|
||||
</pre>
|
||||
|
||||
<p><strong>Example 2:</strong></p>
|
||||
<p><strong class="example">Example 2:</strong></p>
|
||||
|
||||
<pre>
|
||||
<strong>Input:</strong> s = "icodeinpython", spaces = [1,5,7,9]
|
||||
@@ -27,7 +27,7 @@ The indices 1, 5, 7, and 9 correspond to the underlined characters in "i<u>
|
||||
We then place spaces before those characters.
|
||||
</pre>
|
||||
|
||||
<p><strong>Example 3:</strong></p>
|
||||
<p><strong class="example">Example 3:</strong></p>
|
||||
|
||||
<pre>
|
||||
<strong>Input:</strong> s = "spacing", spaces = [0,1,2,3,4,5,6]
|
||||
|
Reference in New Issue
Block a user