wiz-icon
MyQuestionIcon
MyQuestionIcon
1
You visited us 1 times! Enjoying our articles? Unlock Full Access!
Question

Consider the undirected graph G defined a follows. The vertices of G are bit strings of length n. We have an edge between vertex u and vertex v if and only if u and v differ in exactly one bit position (in other words, v can be obtained from u by flipping a single bit). The ratio of the chromatic number of G to the diameter of G is

A
1/(2n1)
No worries! Weā€˜ve got your back. Try BYJUā€˜S free classes today!
B
1/n
No worries! Weā€˜ve got your back. Try BYJUā€˜S free classes today!
C
2/n
Right on! Give the BNAT exam to get a 100% scholarship for BYJUS courses
D
3/n
No worries! Weā€˜ve got your back. Try BYJUā€˜S free classes today!
Open in App
Solution

The correct option is C 2/n
The hamming distance relation on bit strings has a digraph which will be always an n-cube where n is the number of bits.

Chromatic number of n-cube = 2 (since n-cube is always bipartite). Also the diameter of n-cube = n. So the ratio of chromatic number to diameter of the n-cube = 2/n.

flag
Suggest Corrections
thumbs-up
0
Join BYJU'S Learning Program
similar_icon
Related Videos
thumbnail
lock
Coordinate Axes in 3D Space
MATHEMATICS
Watch in App
Join BYJU'S Learning Program
CrossIcon