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,7 +11,7 @@
|
||||
"translatedContent": null,
|
||||
"isPaidOnly": false,
|
||||
"difficulty": "Medium",
|
||||
"likes": 928,
|
||||
"likes": 929,
|
||||
"dislikes": 153,
|
||||
"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}]",
|
||||
@@ -155,7 +155,7 @@
|
||||
"__typename": "CodeSnippetNode"
|
||||
}
|
||||
],
|
||||
"stats": "{\"totalAccepted\": \"35.3K\", \"totalSubmission\": \"55.1K\", \"totalAcceptedRaw\": 35255, \"totalSubmissionRaw\": 55088, \"acRate\": \"64.0%\"}",
|
||||
"stats": "{\"totalAccepted\": \"35.3K\", \"totalSubmission\": \"55.1K\", \"totalAcceptedRaw\": 35271, \"totalSubmissionRaw\": 55113, \"acRate\": \"64.0%\"}",
|
||||
"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