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\": \"20.1K\", \"totalSubmission\": \"41.9K\", \"totalAcceptedRaw\": 20133, \"totalSubmissionRaw\": 41928, \"acRate\": \"48.0%\"}",
"stats": "{\"totalAccepted\": \"20.1K\", \"totalSubmission\": \"41.9K\", \"totalAcceptedRaw\": 20135, \"totalSubmissionRaw\": 41931, \"acRate\": \"48.0%\"}",
"hints": [
"For each node, you need to find the sizes of the subtrees rooted in each of its children. Maybe DFS?",
"How to determine the number of nodes in the rest of the tree? Can you subtract the size of the subtree rooted at the node from the total number of nodes of the tree?",