Back to the 2022 paper

Module 3: Graph and Tree Algorithms

20222m

The minimum number of colors needed to color a graph having n>3n > 3 vertices and 2 edges is
(i) 2
(ii) 3
(iii) 4
(iv) 1

Worked SolutionAI Assisted

Answer: (i) 2

Graph with >3 vertices but only 2 edges is disconnected forest; at most needs 2 colors (bipartite, no odd cycle). Unless edge is loop, 2 colors suffice.

Similar questions

Official AppAndroid App

PYQDeck for Android

Solve BEU previous-year exam papers anywhere, anytime. Fast search, offline paper viewing, and step-by-step solutions designed specifically for your phone.