mirror of
https://gitee.com/coder-xiaomo/leetcode-problemset
synced 2025-09-05 15:31:43 +08:00
update
This commit is contained in:
@@ -167,7 +167,7 @@
|
||||
"__typename": "CodeSnippetNode"
|
||||
}
|
||||
],
|
||||
"stats": "{\"totalAccepted\": \"9.5K\", \"totalSubmission\": \"33.8K\", \"totalAcceptedRaw\": 9488, \"totalSubmissionRaw\": 33784, \"acRate\": \"28.1%\"}",
|
||||
"stats": "{\"totalAccepted\": \"9.5K\", \"totalSubmission\": \"33.8K\", \"totalAcceptedRaw\": 9490, \"totalSubmissionRaw\": 33795, \"acRate\": \"28.1%\"}",
|
||||
"hints": [
|
||||
"Since every character appears once in a k-subsequence, we can solve the following problem first: Find the total number of ways to select <code>k</code> characters such that the sum of their frequencies is maximum.",
|
||||
"An obvious case to eliminate is if <code>k</code> is greater than the number of distinct characters in <code>s</code>, then the answer is <code>0</code>.",
|
||||
|
Reference in New Issue
Block a user