mirror of
https://gitee.com/coder-xiaomo/leetcode-problemset
synced 2025-09-07 00:11:41 +08:00
update
This commit is contained in:
@@ -12,7 +12,7 @@
|
||||
"translatedContent": "<p>字符串的左旋转操作是把字符串前面的若干个字符转移到字符串的尾部。请定义一个函数实现字符串左旋转操作的功能。比如,输入字符串"abcdefg"和数字2,该函数将返回左旋转两位得到的结果"cdefgab"。</p>\n\n<p> </p>\n\n<p><strong>示例 1:</strong></p>\n\n<pre><strong>输入:</strong> s = "abcdefg", k = 2\n<strong>输出: </strong>"cdefgab"\n</pre>\n\n<p><strong>示例 2:</strong></p>\n\n<pre><strong>输入:</strong> s = "lrloseumgh", k = 6\n<strong>输出: </strong>"umghlrlose"\n</pre>\n\n<p> </p>\n\n<p><strong>限制:</strong></p>\n\n<ul>\n\t<li><code>1 <= k < s.length <= 10000</code></li>\n</ul>\n",
|
||||
"isPaidOnly": false,
|
||||
"difficulty": "Easy",
|
||||
"likes": 217,
|
||||
"likes": 218,
|
||||
"dislikes": 0,
|
||||
"isLiked": null,
|
||||
"similarQuestions": "[]",
|
||||
@@ -149,7 +149,7 @@
|
||||
"__typename": "CodeSnippetNode"
|
||||
}
|
||||
],
|
||||
"stats": "{\"totalAccepted\": \"294.7K\", \"totalSubmission\": \"342.8K\", \"totalAcceptedRaw\": 294736, \"totalSubmissionRaw\": 342782, \"acRate\": \"86.0%\"}",
|
||||
"stats": "{\"totalAccepted\": \"296K\", \"totalSubmission\": \"344.2K\", \"totalAcceptedRaw\": 295981, \"totalSubmissionRaw\": 344216, \"acRate\": \"86.0%\"}",
|
||||
"hints": [],
|
||||
"solution": null,
|
||||
"status": null,
|
||||
|
Reference in New Issue
Block a user