mirror of
https://gitee.com/coder-xiaomo/leetcode-problemset
synced 2025-09-10 09:51:42 +08:00
update
This commit is contained in:
@@ -12,7 +12,7 @@
|
||||
"translatedContent": "<p>你有一套活字字模 <code>tiles</code>,其中每个字模上都刻有一个字母 <code>tiles[i]</code>。返回你可以印出的非空字母序列的数目。</p>\n\n<p><strong>注意:</strong>本题中,每个活字字模只能使用一次。</p>\n\n<p> </p>\n\n<p><strong>示例 1:</strong></p>\n\n<pre>\n<strong>输入:</strong>\"AAB\"\n<strong>输出:</strong>8\n<strong>解释:</strong>可能的序列为 \"A\", \"B\", \"AA\", \"AB\", \"BA\", \"AAB\", \"ABA\", \"BAA\"。\n</pre>\n\n<p><strong>示例 2:</strong></p>\n\n<pre>\n<strong>输入:</strong>\"AAABBC\"\n<strong>输出:</strong>188\n</pre>\n\n<p><strong>示例 3:</strong></p>\n\n<pre>\n<strong>输入:</strong>\"V\"\n<strong>输出:</strong>1</pre>\n\n<p> </p>\n\n<p><strong>提示:</strong></p>\n\n<ul>\n\t<li><code>1 <= tiles.length <= 7</code></li>\n\t<li><code>tiles</code> 由大写英文字母组成</li>\n</ul>\n",
|
||||
"isPaidOnly": false,
|
||||
"difficulty": "Medium",
|
||||
"likes": 137,
|
||||
"likes": 138,
|
||||
"dislikes": 0,
|
||||
"isLiked": null,
|
||||
"similarQuestions": "[]",
|
||||
@@ -143,7 +143,7 @@
|
||||
"__typename": "CodeSnippetNode"
|
||||
}
|
||||
],
|
||||
"stats": "{\"totalAccepted\": \"13.2K\", \"totalSubmission\": \"18K\", \"totalAcceptedRaw\": 13157, \"totalSubmissionRaw\": 17951, \"acRate\": \"73.3%\"}",
|
||||
"stats": "{\"totalAccepted\": \"13.2K\", \"totalSubmission\": \"18K\", \"totalAcceptedRaw\": 13172, \"totalSubmissionRaw\": 17973, \"acRate\": \"73.3%\"}",
|
||||
"hints": [
|
||||
"Try to build the string with a backtracking DFS by considering what you can put in every position."
|
||||
],
|
||||
|
Reference in New Issue
Block a user