1
0
mirror of https://gitee.com/coder-xiaomo/leetcode-problemset synced 2025-09-06 07:51:41 +08:00
Code Issues Projects Releases Wiki Activity GitHub Gitee
This commit is contained in:
2023-12-09 19:57:46 +08:00
parent 9bc4722a45
commit 3770b44d1e
4792 changed files with 10889 additions and 10886 deletions

View File

@@ -155,7 +155,7 @@
"__typename": "CodeSnippetNode"
}
],
"stats": "{\"totalAccepted\": \"70.8K\", \"totalSubmission\": \"116.8K\", \"totalAcceptedRaw\": 70763, \"totalSubmissionRaw\": 116840, \"acRate\": \"60.6%\"}",
"stats": "{\"totalAccepted\": \"70.8K\", \"totalSubmission\": \"116.8K\", \"totalAcceptedRaw\": 70765, \"totalSubmissionRaw\": 116846, \"acRate\": \"60.6%\"}",
"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>.",