1
0
mirror of https://gitee.com/coder-xiaomo/leetcode-problemset synced 2025-09-04 06:51:41 +08:00
Code Issues Projects Releases Wiki Activity GitHub Gitee
This commit is contained in:
2022-03-29 15:21:05 +08:00
parent b84ae535b7
commit e730aa6794
2244 changed files with 8703 additions and 59499 deletions

View File

@@ -11,7 +11,7 @@
"translatedContent": null,
"isPaidOnly": false,
"difficulty": "Medium",
"likes": 851,
"likes": 854,
"dislikes": 1211,
"isLiked": null,
"similarQuestions": "[]",
@@ -149,7 +149,7 @@
"__typename": "CodeSnippetNode"
}
],
"stats": "{\"totalAccepted\": \"100.6K\", \"totalSubmission\": \"199.3K\", \"totalAcceptedRaw\": 100624, \"totalSubmissionRaw\": 199287, \"acRate\": \"50.5%\"}",
"stats": "{\"totalAccepted\": \"100.7K\", \"totalSubmission\": \"199.4K\", \"totalAcceptedRaw\": 100695, \"totalSubmissionRaw\": 199390, \"acRate\": \"50.5%\"}",
"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>.",