mirror of
https://gitee.com/coder-xiaomo/leetcode-problemset
synced 2025-10-22 13:36:46 +08:00
update
This commit is contained in:
@@ -12,7 +12,7 @@
|
||||
"translatedContent": "<p>我们定义「顺次数」为:每一位上的数字都比前一位上的数字大 <code>1</code> 的整数。</p>\n\n<p>请你返回由 <code>[low, high]</code> 范围内所有顺次数组成的 <strong>有序</strong> 列表(从小到大排序)。</p>\n\n<p> </p>\n\n<p><strong>示例 1:</strong></p>\n\n<pre><strong>输出:</strong>low = 100, high = 300\n<strong>输出:</strong>[123,234]\n</pre>\n\n<p><strong>示例 2:</strong></p>\n\n<pre><strong>输出:</strong>low = 1000, high = 13000\n<strong>输出:</strong>[1234,2345,3456,4567,5678,6789,12345]\n</pre>\n\n<p> </p>\n\n<p><strong>提示:</strong></p>\n\n<ul>\n\t<li><code>10 <= low <= high <= 10^9</code></li>\n</ul>\n",
|
||||
"isPaidOnly": false,
|
||||
"difficulty": "Medium",
|
||||
"likes": 39,
|
||||
"likes": 40,
|
||||
"dislikes": 0,
|
||||
"isLiked": null,
|
||||
"similarQuestions": "[]",
|
||||
@@ -137,7 +137,7 @@
|
||||
"__typename": "CodeSnippetNode"
|
||||
}
|
||||
],
|
||||
"stats": "{\"totalAccepted\": \"8.3K\", \"totalSubmission\": \"15.7K\", \"totalAcceptedRaw\": 8262, \"totalSubmissionRaw\": 15693, \"acRate\": \"52.6%\"}",
|
||||
"stats": "{\"totalAccepted\": \"8.5K\", \"totalSubmission\": \"16K\", \"totalAcceptedRaw\": 8465, \"totalSubmissionRaw\": 16045, \"acRate\": \"52.8%\"}",
|
||||
"hints": [
|
||||
"Generate all numbers with sequential digits and check if they are in the given range.",
|
||||
"Fix the starting digit then do a recursion that tries to append all valid digits."
|
||||
|
Reference in New Issue
Block a user