mirror of
https://gitee.com/coder-xiaomo/leetcode-problemset
synced 2025-09-07 00:11:41 +08:00
update
This commit is contained in:
@@ -11,7 +11,7 @@
|
||||
"translatedContent": null,
|
||||
"isPaidOnly": true,
|
||||
"difficulty": "Medium",
|
||||
"likes": 7,
|
||||
"likes": 8,
|
||||
"dislikes": 0,
|
||||
"isLiked": null,
|
||||
"similarQuestions": "[]",
|
||||
@@ -21,7 +21,7 @@
|
||||
"topicTags": [],
|
||||
"companyTagStats": null,
|
||||
"codeSnippets": null,
|
||||
"stats": "{\"totalAccepted\": \"174\", \"totalSubmission\": \"219\", \"totalAcceptedRaw\": 174, \"totalSubmissionRaw\": 219, \"acRate\": \"79.5%\"}",
|
||||
"stats": "{\"totalAccepted\": \"213\", \"totalSubmission\": \"262\", \"totalAcceptedRaw\": 213, \"totalSubmissionRaw\": 262, \"acRate\": \"81.3%\"}",
|
||||
"hints": [
|
||||
"If there are <code>t</code> occurrences of a character in a substring, there exists <code>t * (t - 1) / 2</code> Same-End substrings with that character.",
|
||||
"Try to calculate the number of occurrences of a character in a substring in <code>O(1)</code> using partial sum."
|
||||
|
Reference in New Issue
Block a user