mirror of
https://gitee.com/coder-xiaomo/leetcode-problemset
synced 2025-09-04 15:01:40 +08:00
update
This commit is contained in:
@@ -11,8 +11,8 @@
|
||||
"translatedContent": null,
|
||||
"isPaidOnly": false,
|
||||
"difficulty": "Medium",
|
||||
"likes": 297,
|
||||
"dislikes": 81,
|
||||
"likes": 307,
|
||||
"dislikes": 83,
|
||||
"isLiked": null,
|
||||
"similarQuestions": "[{\"title\": \"Substrings That Begin and End With the Same Letter\", \"titleSlug\": \"substrings-that-begin-and-end-with-the-same-letter\", \"difficulty\": \"Medium\", \"translatedTitle\": null}]",
|
||||
"exampleTestcases": "\"aabcb\"\n\"aabcbaa\"",
|
||||
@@ -149,7 +149,7 @@
|
||||
"__typename": "CodeSnippetNode"
|
||||
}
|
||||
],
|
||||
"stats": "{\"totalAccepted\": \"12.7K\", \"totalSubmission\": \"21.2K\", \"totalAcceptedRaw\": 12699, \"totalSubmissionRaw\": 21237, \"acRate\": \"59.8%\"}",
|
||||
"stats": "{\"totalAccepted\": \"13K\", \"totalSubmission\": \"21.8K\", \"totalAcceptedRaw\": 13044, \"totalSubmissionRaw\": 21827, \"acRate\": \"59.8%\"}",
|
||||
"hints": [
|
||||
"Maintain a prefix sum for the frequencies of characters.",
|
||||
"You can iterate over all substring then iterate over the alphabet and find which character appears most and which appears least using the prefix sum array"
|
||||
|
Reference in New Issue
Block a user