1.

What will be the chromatic number for a tree having more than 1 vertex?(a) 0(b) 1(c) 2(d) Varies with the structure and number of vertices of the treeThe question was posed to me in semester exam.The query is from Graph Coloring in chapter Graph Coloring of Data Structures & Algorithms II

Answer»

The correct option is (c) 2

Easy EXPLANATION - The minimum number of COLORS required for proper vertex COLORING of graph is CALLED chromatic number. So every tree having more than 1 vertex is 2 chromatic.



Discussion

No Comment Found

Related InterviewSolutions