1
0
mirror of https://gitee.com/coder-xiaomo/leetcode-problemset synced 2025-09-02 14:12:17 +08:00
Code Issues Projects Releases Wiki Activity GitHub Gitee
This commit is contained in:
2022-03-29 16:56:27 +08:00
parent e730aa6794
commit ad15da05aa
2517 changed files with 7358 additions and 7332 deletions

View File

@@ -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>.",