mirror of
https://gitee.com/coder-xiaomo/leetcode-problemset
synced 2025-09-04 15:01:40 +08:00
update
This commit is contained in:
@@ -11,8 +11,8 @@
|
||||
"translatedContent": null,
|
||||
"isPaidOnly": false,
|
||||
"difficulty": "Medium",
|
||||
"likes": 905,
|
||||
"dislikes": 86,
|
||||
"likes": 936,
|
||||
"dislikes": 87,
|
||||
"isLiked": null,
|
||||
"similarQuestions": "[]",
|
||||
"exampleTestcases": "7\n[[0,1],[0,2],[1,4],[1,5],[2,3],[2,6]]\n[false,false,true,false,true,true,false]\n7\n[[0,1],[0,2],[1,4],[1,5],[2,3],[2,6]]\n[false,false,true,false,false,true,false]\n7\n[[0,1],[0,2],[1,4],[1,5],[2,3],[2,6]]\n[false,false,false,false,false,false,false]",
|
||||
@@ -155,7 +155,7 @@
|
||||
"__typename": "CodeSnippetNode"
|
||||
}
|
||||
],
|
||||
"stats": "{\"totalAccepted\": \"28.2K\", \"totalSubmission\": \"50.7K\", \"totalAcceptedRaw\": 28191, \"totalSubmissionRaw\": 50669, \"acRate\": \"55.6%\"}",
|
||||
"stats": "{\"totalAccepted\": \"28.7K\", \"totalSubmission\": \"51.7K\", \"totalAcceptedRaw\": 28747, \"totalSubmissionRaw\": 51671, \"acRate\": \"55.6%\"}",
|
||||
"hints": [
|
||||
"Note that if a node u contains an apple then all edges in the path from the root to the node u have to be used forward and backward (2 times).",
|
||||
"Therefore use a depth-first search (DFS) to check if an edge will be used or not."
|
||||
|
Reference in New Issue
Block a user