mirror of
https://gitee.com/coder-xiaomo/leetcode-problemset
synced 2025-10-21 13:06:47 +08:00
update
This commit is contained in:
@@ -12,7 +12,7 @@
|
||||
"translatedContent": "<p>给定两个字符串, <code>s</code> 和 <code>goal</code>。如果在若干次旋转操作之后,<code>s</code> 能变成 <code>goal</code> ,那么返回 <code>true</code> 。</p>\n\n<p><code>s</code> 的 <strong>旋转操作</strong> 就是将 <code>s</code> 最左边的字符移动到最右边。 </p>\n\n<ul>\n\t<li>例如, 若 <code>s = 'abcde'</code>,在旋转一次之后结果就是<code>'bcdea'</code> 。</li>\n</ul>\n\n<p> </p>\n\n<p><strong>示例 1:</strong></p>\n\n<pre>\n<strong>输入:</strong> s = \"abcde\", goal = \"cdeab\"\n<strong>输出:</strong> true\n</pre>\n\n<p><strong>示例 2:</strong></p>\n\n<pre>\n<strong>输入:</strong> s = \"abcde\", goal = \"abced\"\n<strong>输出:</strong> false\n</pre>\n\n<p> </p>\n\n<p><strong>提示:</strong></p>\n\n<ul>\n\t<li><code>1 <= s.length, goal.length <= 100</code></li>\n\t<li><code>s</code> 和 <code>goal</code> 由小写英文字母组成</li>\n</ul>\n",
|
||||
"isPaidOnly": false,
|
||||
"difficulty": "Easy",
|
||||
"likes": 167,
|
||||
"likes": 247,
|
||||
"dislikes": 0,
|
||||
"isLiked": null,
|
||||
"similarQuestions": "[]",
|
||||
@@ -143,7 +143,7 @@
|
||||
"__typename": "CodeSnippetNode"
|
||||
}
|
||||
],
|
||||
"stats": "{\"totalAccepted\": \"29.2K\", \"totalSubmission\": \"53.1K\", \"totalAcceptedRaw\": 29206, \"totalSubmissionRaw\": 53099, \"acRate\": \"55.0%\"}",
|
||||
"stats": "{\"totalAccepted\": \"66.9K\", \"totalSubmission\": \"106.2K\", \"totalAcceptedRaw\": 66874, \"totalSubmissionRaw\": 106160, \"acRate\": \"63.0%\"}",
|
||||
"hints": [],
|
||||
"solution": null,
|
||||
"status": null,
|
||||
|
Reference in New Issue
Block a user