mirror of
https://gitee.com/coder-xiaomo/leetcode-problemset
synced 2025-09-05 07:21:40 +08:00
update
This commit is contained in:
@@ -46,7 +46,7 @@
|
||||
],
|
||||
"companyTagStats": null,
|
||||
"codeSnippets": null,
|
||||
"stats": "{\"totalAccepted\": \"11.4K\", \"totalSubmission\": \"22.7K\", \"totalAcceptedRaw\": 11401, \"totalSubmissionRaw\": 22675, \"acRate\": \"50.3%\"}",
|
||||
"stats": "{\"totalAccepted\": \"11.4K\", \"totalSubmission\": \"22.8K\", \"totalAcceptedRaw\": 11435, \"totalSubmissionRaw\": 22779, \"acRate\": \"50.2%\"}",
|
||||
"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