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

@@ -137,7 +137,7 @@
"__typename": "CodeSnippetNode"
}
],
"stats": "{\"totalAccepted\": \"13.1K\", \"totalSubmission\": \"17K\", \"totalAcceptedRaw\": 13142, \"totalSubmissionRaw\": 16984, \"acRate\": \"77.4%\"}",
"stats": "{\"totalAccepted\": \"13.2K\", \"totalSubmission\": \"17K\", \"totalAcceptedRaw\": 13174, \"totalSubmissionRaw\": 17030, \"acRate\": \"77.4%\"}",
"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.",