mirror of
https://gitee.com/coder-xiaomo/leetcode-problemset
synced 2025-10-24 22:38:57 +08:00
update
This commit is contained in:
@@ -12,7 +12,7 @@
|
||||
"translatedContent": "<p>给定一个字符串 <code>s</code> ,检查是否能重新排布其中的字母,使得两相邻的字符不同。</p>\n\n<p>返回<em> <code>s</code> 的任意可能的重新排列。若不可行,返回空字符串 <code>\"\"</code></em> 。</p>\n\n<p> </p>\n\n<p><strong>示例 1:</strong></p>\n\n<pre>\n<strong>输入:</strong> s = \"aab\"\n<strong>输出:</strong> \"aba\"\n</pre>\n\n<p><strong>示例 2:</strong></p>\n\n<pre>\n<strong>输入:</strong> s = \"aaab\"\n<strong>输出:</strong> \"\"\n</pre>\n\n<p> </p>\n\n<p><strong>提示:</strong></p>\n\n<ul>\n\t<li><code>1 <= s.length <= 500</code></li>\n\t<li><code>s</code> 只包含小写字母</li>\n</ul>\n",
|
||||
"isPaidOnly": false,
|
||||
"difficulty": "Medium",
|
||||
"likes": 394,
|
||||
"likes": 401,
|
||||
"dislikes": 0,
|
||||
"isLiked": null,
|
||||
"similarQuestions": "[{\"title\": \"Rearrange String k Distance Apart\", \"titleSlug\": \"rearrange-string-k-distance-apart\", \"difficulty\": \"Hard\", \"translatedTitle\": \"K \\u8ddd\\u79bb\\u95f4\\u9694\\u91cd\\u6392\\u5b57\\u7b26\\u4e32\"}, {\"title\": \"Task Scheduler\", \"titleSlug\": \"task-scheduler\", \"difficulty\": \"Medium\", \"translatedTitle\": \"\\u4efb\\u52a1\\u8c03\\u5ea6\\u5668\"}]",
|
||||
@@ -167,7 +167,7 @@
|
||||
"__typename": "CodeSnippetNode"
|
||||
}
|
||||
],
|
||||
"stats": "{\"totalAccepted\": \"43.6K\", \"totalSubmission\": \"91.1K\", \"totalAcceptedRaw\": 43610, \"totalSubmissionRaw\": 91108, \"acRate\": \"47.9%\"}",
|
||||
"stats": "{\"totalAccepted\": \"44.3K\", \"totalSubmission\": \"92.5K\", \"totalAcceptedRaw\": 44328, \"totalSubmissionRaw\": 92502, \"acRate\": \"47.9%\"}",
|
||||
"hints": [
|
||||
"Alternate placing the most common letters."
|
||||
],
|
||||
|
||||
Reference in New Issue
Block a user