mirror of
https://gitee.com/coder-xiaomo/leetcode-problemset
synced 2025-09-02 14:12:17 +08:00
update
This commit is contained in:
@@ -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.",
|
||||
|
Reference in New Issue
Block a user