1
0
mirror of https://gitee.com/coder-xiaomo/leetcode-problemset synced 2025-09-04 15:01:40 +08:00
Code Issues Projects Releases Wiki Activity GitHub Gitee
This commit is contained in:
2022-03-29 16:56:27 +08:00
parent e730aa6794
commit ad15da05aa
2517 changed files with 7358 additions and 7332 deletions

View File

@@ -149,7 +149,7 @@
"__typename": "CodeSnippetNode"
}
],
"stats": "{\"totalAccepted\": \"4.6K\", \"totalSubmission\": \"8.7K\", \"totalAcceptedRaw\": 4648, \"totalSubmissionRaw\": 8703, \"acRate\": \"53.4%\"}",
"stats": "{\"totalAccepted\": \"4.7K\", \"totalSubmission\": \"8.7K\", \"totalAcceptedRaw\": 4652, \"totalSubmissionRaw\": 8709, \"acRate\": \"53.4%\"}",
"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"