mirror of
https://gitee.com/coder-xiaomo/leetcode-problemset
synced 2025-09-02 14:12:17 +08:00
update
This commit is contained in:
@@ -149,7 +149,7 @@
|
||||
"__typename": "CodeSnippetNode"
|
||||
}
|
||||
],
|
||||
"stats": "{\"totalAccepted\": \"28.1K\", \"totalSubmission\": \"53.7K\", \"totalAcceptedRaw\": 28062, \"totalSubmissionRaw\": 53678, \"acRate\": \"52.3%\"}",
|
||||
"stats": "{\"totalAccepted\": \"28.1K\", \"totalSubmission\": \"53.8K\", \"totalAcceptedRaw\": 28115, \"totalSubmissionRaw\": 53783, \"acRate\": \"52.3%\"}",
|
||||
"hints": [
|
||||
"A direct way is to use the backtracking approach.",
|
||||
"Backtracking should contains three states which are (the current number, number of steps to get that number and a bitmask which represent which number is marked as visited so far in the current number). Start with state (0,0,0) and count all valid number till we reach number of steps equals to 10<sup>n</sup>.",
|
||||
|
Reference in New Issue
Block a user