Infosys Interview Question

Graph Colouring Problem