1
0
mirror of https://gitee.com/coder-xiaomo/leetcode-problemset synced 2025-09-04 23:11:41 +08:00
Code Issues Projects Releases Wiki Activity GitHub Gitee
This commit is contained in:
2022-03-29 15:21:05 +08:00
parent b84ae535b7
commit e730aa6794
2244 changed files with 8703 additions and 59499 deletions

View File

@@ -149,7 +149,7 @@
"__typename": "CodeSnippetNode"
}
],
"stats": "{\"totalAccepted\": \"12.7K\", \"totalSubmission\": \"21.2K\", \"totalAcceptedRaw\": 12679, \"totalSubmissionRaw\": 21198, \"acRate\": \"59.8%\"}",
"stats": "{\"totalAccepted\": \"12.7K\", \"totalSubmission\": \"21.2K\", \"totalAcceptedRaw\": 12699, \"totalSubmissionRaw\": 21237, \"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"