mirror of
https://gitee.com/coder-xiaomo/leetcode-problemset
synced 2025-09-07 08:21:41 +08:00
update
This commit is contained in:
@@ -46,7 +46,7 @@
|
||||
],
|
||||
"companyTagStats": null,
|
||||
"codeSnippets": null,
|
||||
"stats": "{\"totalAccepted\": \"371.2K\", \"totalSubmission\": \"778.8K\", \"totalAcceptedRaw\": 371154, \"totalSubmissionRaw\": 778821, \"acRate\": \"47.7%\"}",
|
||||
"stats": "{\"totalAccepted\": \"371.2K\", \"totalSubmission\": \"778.9K\", \"totalAcceptedRaw\": 371179, \"totalSubmissionRaw\": 778869, \"acRate\": \"47.7%\"}",
|
||||
"hints": [
|
||||
"Given <code>n = 5</code> and <code>edges = [[0, 1], [1, 2], [3, 4]]</code>, what should your return? Is this case a valid tree?",
|
||||
"According to the <a href=\"https://en.wikipedia.org/wiki/Tree_(graph_theory)\" target=\"_blank\">definition of tree on Wikipedia</a>: “a tree is an undirected graph in which any two vertices are connected by <i>exactly</i> one path. In other words, any connected graph without simple cycles is a tree.”"
|
||||
|
Reference in New Issue
Block a user