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