1
0
mirror of https://gitee.com/coder-xiaomo/leetcode-problemset synced 2025-09-06 16:01: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\": \"172.9K\", \"totalSubmission\": \"221.6K\", \"totalAcceptedRaw\": 172941, \"totalSubmissionRaw\": 221568, \"acRate\": \"78.1%\"}",
"stats": "{\"totalAccepted\": \"173K\", \"totalSubmission\": \"221.6K\", \"totalAcceptedRaw\": 172961, \"totalSubmissionRaw\": 221588, \"acRate\": \"78.1%\"}",
"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.",