mirror of
https://gitee.com/coder-xiaomo/leetcode-problemset
synced 2025-09-08 17:01:42 +08:00
存量题库数据更新
This commit is contained in:
@@ -7,14 +7,14 @@
|
||||
<p><b>Note</b> that <code>s</code> may contain leading or trailing spaces or multiple spaces between two words. The returned string should only have a single space separating the words. Do not include any extra spaces.</p>
|
||||
|
||||
<p> </p>
|
||||
<p><strong>Example 1:</strong></p>
|
||||
<p><strong class="example">Example 1:</strong></p>
|
||||
|
||||
<pre>
|
||||
<strong>Input:</strong> s = "the sky is blue"
|
||||
<strong>Output:</strong> "blue is sky the"
|
||||
</pre>
|
||||
|
||||
<p><strong>Example 2:</strong></p>
|
||||
<p><strong class="example">Example 2:</strong></p>
|
||||
|
||||
<pre>
|
||||
<strong>Input:</strong> s = " hello world "
|
||||
@@ -22,7 +22,7 @@
|
||||
<strong>Explanation:</strong> Your reversed string should not contain leading or trailing spaces.
|
||||
</pre>
|
||||
|
||||
<p><strong>Example 3:</strong></p>
|
||||
<p><strong class="example">Example 3:</strong></p>
|
||||
|
||||
<pre>
|
||||
<strong>Input:</strong> s = "a good example"
|
||||
|
Reference in New Issue
Block a user