1
0
mirror of https://gitee.com/coder-xiaomo/leetcode-problemset synced 2025-09-03 06:22:54 +08:00
Code Issues Projects Releases Wiki Activity GitHub Gitee
This commit is contained in:
2022-05-02 23:44:12 +08:00
parent 7ea03594b3
commit 2a71c78585
4790 changed files with 11696 additions and 10944 deletions

View File

@@ -167,7 +167,7 @@
"__typename": "CodeSnippetNode"
}
],
"stats": "{\"totalAccepted\": \"2.9K\", \"totalSubmission\": \"6.9K\", \"totalAcceptedRaw\": 2894, \"totalSubmissionRaw\": 6945, \"acRate\": \"41.7%\"}",
"stats": "{\"totalAccepted\": \"2.9K\", \"totalSubmission\": \"6.9K\", \"totalAcceptedRaw\": 2896, \"totalSubmissionRaw\": 6949, \"acRate\": \"41.7%\"}",
"hints": [
"Do a DFS from the root. At each node, calculate the longest path we can make from two branches of that subtree.",
"To do that, we need to find the length of the longest path from each of the nodes children."