1
0
mirror of https://gitee.com/coder-xiaomo/leetcode-problemset synced 2025-09-05 23:41:41 +08:00
Code Issues Projects Releases Wiki Activity GitHub Gitee
This commit is contained in:
2023-12-09 19:57:46 +08:00
parent 9bc4722a45
commit 3770b44d1e
4792 changed files with 10889 additions and 10886 deletions

View File

@@ -161,7 +161,7 @@
"__typename": "CodeSnippetNode"
}
],
"stats": "{\"totalAccepted\": \"9.5K\", \"totalSubmission\": \"23.1K\", \"totalAcceptedRaw\": 9455, \"totalSubmissionRaw\": 23115, \"acRate\": \"40.9%\"}",
"stats": "{\"totalAccepted\": \"9.5K\", \"totalSubmission\": \"23.1K\", \"totalAcceptedRaw\": 9457, \"totalSubmissionRaw\": 23117, \"acRate\": \"40.9%\"}",
"hints": [
"What data structure will allow you to efficiently keep track of the score of each prefix?",
"Use a Trie. Insert all the words into it, and keep a counter at each node that will tell you how many times we have visited each prefix."