mirror of
https://gitee.com/coder-xiaomo/leetcode-problemset
synced 2025-09-08 00:41:42 +08:00
update
This commit is contained in:
@@ -46,7 +46,7 @@
|
||||
],
|
||||
"companyTagStats": null,
|
||||
"codeSnippets": null,
|
||||
"stats": "{\"totalAccepted\": \"19.3K\", \"totalSubmission\": \"37.7K\", \"totalAcceptedRaw\": 19325, \"totalSubmissionRaw\": 37735, \"acRate\": \"51.2%\"}",
|
||||
"stats": "{\"totalAccepted\": \"19.3K\", \"totalSubmission\": \"37.7K\", \"totalAcceptedRaw\": 19327, \"totalSubmissionRaw\": 37739, \"acRate\": \"51.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