mirror of
https://gitee.com/coder-xiaomo/leetcode-problemset
synced 2025-09-05 23:41:41 +08:00
update
This commit is contained in:
@@ -149,7 +149,7 @@
|
||||
"__typename": "CodeSnippetNode"
|
||||
}
|
||||
],
|
||||
"stats": "{\"totalAccepted\": \"72.9K\", \"totalSubmission\": \"159.8K\", \"totalAcceptedRaw\": 72891, \"totalSubmissionRaw\": 159805, \"acRate\": \"45.6%\"}",
|
||||
"stats": "{\"totalAccepted\": \"72.9K\", \"totalSubmission\": \"159.8K\", \"totalAcceptedRaw\": 72897, \"totalSubmissionRaw\": 159813, \"acRate\": \"45.6%\"}",
|
||||
"hints": [
|
||||
"How can you find the shortest distance from one node to all nodes in the graph?",
|
||||
"Use BFS to find the shortest distance from both node1 and node2 to all nodes in the graph. Then iterate over all nodes, and find the node with the minimum max distance."
|
||||
|
Reference in New Issue
Block a user