mirror of
https://gitee.com/coder-xiaomo/leetcode-problemset
synced 2025-09-02 14:12:17 +08:00
update
This commit is contained in:
@@ -12,7 +12,7 @@
|
||||
"translatedContent": "<p>无重复字符串的排列组合。编写一种方法,计算某字符串的所有排列组合,字符串每个字符均不相同。</p>\n\n<p> <strong>示例1:</strong></p>\n\n<pre>\n<strong> 输入</strong>:S = \"qwe\"\n<strong> 输出</strong>:[\"qwe\", \"qew\", \"wqe\", \"weq\", \"ewq\", \"eqw\"]\n</pre>\n\n<p> <strong>示例2:</strong></p>\n\n<pre>\n<strong> 输入</strong>:S = \"ab\"\n<strong> 输出</strong>:[\"ab\", \"ba\"]\n</pre>\n\n<p> <strong>提示:</strong></p>\n\n<ol>\n<li>字符都是英文字母。</li>\n<li>字符串长度在[1, 9]之间。</li>\n</ol>\n",
|
||||
"isPaidOnly": false,
|
||||
"difficulty": "Medium",
|
||||
"likes": 65,
|
||||
"likes": 68,
|
||||
"dislikes": 0,
|
||||
"isLiked": null,
|
||||
"similarQuestions": "[]",
|
||||
@@ -143,7 +143,7 @@
|
||||
"__typename": "CodeSnippetNode"
|
||||
}
|
||||
],
|
||||
"stats": "{\"totalAccepted\": \"25.1K\", \"totalSubmission\": \"30.8K\", \"totalAcceptedRaw\": 25058, \"totalSubmissionRaw\": 30795, \"acRate\": \"81.4%\"}",
|
||||
"stats": "{\"totalAccepted\": \"25.8K\", \"totalSubmission\": \"31.7K\", \"totalAcceptedRaw\": 25822, \"totalSubmissionRaw\": 31738, \"acRate\": \"81.4%\"}",
|
||||
"hints": [
|
||||
"方法1:假设你有abc的所有排列。你怎么用它来得到abcd的所有排列?",
|
||||
"方法1:abc的排列组合表示abc的所有组合方式。现在,我们要创建abcd的所有组合方式。选择abcd的特定组合,如bdca。这个bdca字符串也代表abc的一种排列方式:删除d,你会得到bca。那么给定字符串bca,你是否可以创建包含d 的所有“相关”排列组合?",
|
||||
|
Reference in New Issue
Block a user