mirror of
https://gitee.com/coder-xiaomo/leetcode-problemset
synced 2025-09-05 23:41:41 +08:00
update
This commit is contained in:
@@ -149,7 +149,7 @@
|
||||
"__typename": "CodeSnippetNode"
|
||||
}
|
||||
],
|
||||
"stats": "{\"totalAccepted\": \"65.5K\", \"totalSubmission\": \"140.8K\", \"totalAcceptedRaw\": 65527, \"totalSubmissionRaw\": 140804, \"acRate\": \"46.5%\"}",
|
||||
"stats": "{\"totalAccepted\": \"65.5K\", \"totalSubmission\": \"140.8K\", \"totalAcceptedRaw\": 65534, \"totalSubmissionRaw\": 140825, \"acRate\": \"46.5%\"}",
|
||||
"hints": [
|
||||
"Think about how to solve the problem if the string had only two distinct characters.",
|
||||
"If we replace all occurrences of the first character by +1 and those of the second character by -1, can we efficiently calculate the largest possible variance of a string with only two distinct characters?",
|
||||
|
Reference in New Issue
Block a user