mirror of
https://gitee.com/coder-xiaomo/leetcode-problemset
synced 2025-09-05 15:31:43 +08:00
update
This commit is contained in:
@@ -21,7 +21,7 @@
|
||||
"topicTags": [],
|
||||
"companyTagStats": null,
|
||||
"codeSnippets": null,
|
||||
"stats": "{\"totalAccepted\": \"506\", \"totalSubmission\": \"839\", \"totalAcceptedRaw\": 506, \"totalSubmissionRaw\": 839, \"acRate\": \"60.3%\"}",
|
||||
"stats": "{\"totalAccepted\": \"507\", \"totalSubmission\": \"840\", \"totalAcceptedRaw\": 507, \"totalSubmissionRaw\": 840, \"acRate\": \"60.4%\"}",
|
||||
"hints": [
|
||||
"<div class=\"_1l1MA\">For each node, calculate a list of <code>k</code> values representing <code>k</code> smallest values in the subtree of that node.</div>",
|
||||
"<div class=\"_1l1MA\">To check if a node is great enough, get the described list in the first hint for its children and merge them. Since the resulting list may contain more than <code>k</code> elements, pick <code>k</code> smallest values and discard the extra ones.</div>",
|
||||
|
Reference in New Issue
Block a user