It is NP-complete to determine whether an arbitrary graph has chromatic number k, where k >= 3. However, determining whether an arbitrary graph has chromatic number 2 is in P. Given a graph G on n...


It is NP-complete to determine whether an arbitrary graph has chromatic number k, where k  >= 3.


However, determining whether an arbitrary graph has chromatic number 2 is in P.


Given a graph G on n vertices, create an algorithm that will return TRUE if  χ(G) = 2 and


FALSE if  χ(G) ≠ 2. Clearly explain how your algorithm works, why it guarantees the correct


output, and determine the running time of your algorithm.




a<br>b<br>d<br>e<br>f<br>g<br>i<br>k<br>

Extracted text: a b d e f g i k

Jun 10, 2022
SOLUTION.PDF

Get Answer To This Question

Related Questions & Answers

More Questions »

Submit New Assignment

Copy and Paste Your Assignment Here