1
0
mirror of https://gitee.com/coder-xiaomo/leetcode-problemset synced 2025-09-06 07:51: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\": \"2.1K\", \"totalSubmission\": \"4.5K\", \"totalAcceptedRaw\": 2100, \"totalSubmissionRaw\": 4461, \"acRate\": \"47.1%\"}",
"stats": "{\"totalAccepted\": \"2.1K\", \"totalSubmission\": \"4.5K\", \"totalAcceptedRaw\": 2105, \"totalSubmissionRaw\": 4466, \"acRate\": \"47.1%\"}",
"hints": [
"Root the tree at any node.",
"Define a 2D array <code>freq[node][weight]</code> which saves the frequency of each edge <code>weight</code> on the path from the root to each <code>node</code>.",