The distance between two connected nodes in a graph is the length (number of edges) of the shortest path connecting them. The diameter of a connected graph is the maximum distance between any two of its nodes. Let v be an arbitrary vertex in a graph G. If every vertex is within distance d of v, then show that the diameter of the graph is at most 2d.
Please ask if you have doubts. Please upvote.
Thanks have a good day ahead
Get Answers For Free
Most questions answered within 1 hours.