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": 1717,
"likes": 1720,
"dislikes": 37,
"isLiked": null,
"similarQuestions": "[]",
@@ -137,7 +137,7 @@
"__typename": "CodeSnippetNode"
}
],
"stats": "{\"totalAccepted\": \"81.3K\", \"totalSubmission\": \"108.6K\", \"totalAcceptedRaw\": 81276, \"totalSubmissionRaw\": 108624, \"acRate\": \"74.8%\"}",
"stats": "{\"totalAccepted\": \"81.4K\", \"totalSubmission\": \"108.8K\", \"totalAcceptedRaw\": 81446, \"totalSubmissionRaw\": 108843, \"acRate\": \"74.8%\"}",
"hints": [
"For each character, its possible values will depend on the value of its previous character, because it needs to be not smaller than it.",
"Think backtracking. Build a recursive function count(n, last_character) that counts the number of valid strings of length n and whose first characters are not less than last_character.",