1
0
mirror of https://gitee.com/coder-xiaomo/leetcode-problemset synced 2025-10-25 14:58:56 +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

@@ -155,7 +155,7 @@
"__typename": "CodeSnippetNode"
}
],
"stats": "{\"totalAccepted\": \"24.8K\", \"totalSubmission\": \"48K\", \"totalAcceptedRaw\": 24814, \"totalSubmissionRaw\": 47967, \"acRate\": \"51.7%\"}",
"stats": "{\"totalAccepted\": \"24.8K\", \"totalSubmission\": \"48K\", \"totalAcceptedRaw\": 24838, \"totalSubmissionRaw\": 48015, \"acRate\": \"51.7%\"}",
"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?",