1
0
mirror of https://gitee.com/coder-xiaomo/leetcode-problemset synced 2025-09-11 10:21:43 +08:00
Code Issues Projects Releases Wiki Activity GitHub Gitee

批量更新数据

This commit is contained in:
2025-01-09 20:29:41 +08:00
parent 04ecea043d
commit 48cdd06c2b
5053 changed files with 156164 additions and 135322 deletions

View File

@@ -1,14 +1,16 @@
<p>字符串轮转。给定两个字符串<code>s1</code><code>s2</code>,请编写代码检查<code>s2</code>是否为<code>s1</code>旋转而成(比如,<code>waterbottle</code><code>erbottlewat</code>旋转后的字符串)。</p>
<p><strong>示例1:</strong></p>
<p><strong>示例 1</strong></p>
<pre><strong> 输入</strong>s1 = &quot;waterbottle&quot;, s2 = &quot;erbottlewat&quot;
<pre>
<strong> 输入</strong>s1 = "waterbottle", s2 = "erbottlewat"
<strong> 输出</strong>True
</pre>
<p><strong>示例2:</strong></p>
<p><strong>示例 2</strong></p>
<pre><strong> 输入</strong>s1 = &quot;aa&quot;, s2 = &quot;aba&quot;
<pre>
<strong> 输入</strong>s1 = "aa", s2 = "aba"
<strong> 输出</strong>False
</pre>