Computer Sciences > GATE 2021 SET-1 > Graph Theory
Let G = (V, E) be an undirected unweighted connected graph. The diameter of G is defined as:
diam(G) = maxu,v∈V {the length of shortest path between u and v}
Let M be the adjacency matrix of G. Define graph G2 on the same set of vertices with adjacency matrix N, where
Which one of the following statements is true?
A
diam(G2) ≤ ⌈diam(G)/2⌉
B
⌈diam(G)/2⌉ < diam(G2) < diam(G)
C
diam(G2) = diam(G)
D
diam(G) < diam(G2) ≤ 2 diam(G)

Explanation

Correct : a

Similar Questions

What is the worst-case time complexity of insertion in an AVL tree?
Question #23 Medium
Which operations on a binary search tree have O(h) complexity?
Question #31 Easy
Compare search complexities of sorted array vs balanced BST.
Question #47 Hard

Related Topics

Data Structures Binary Search Tree Time Complexity Algorithm Analysis Tree Algorithms Computer Science