Show the worked solutionBacktracking for the \(m\)-colouring decision problem assigns a colour to vertices \(1,2,\dots,n\) in turn. The state-space tree has at most\[\sum_{i=0}^{n}m^i=O(m^n)\]nodes, and at each node checking whether the new colour clashes with the adjacent vertices takes \(O(n)\).\[\text{Time}=O(n\,m^n).\]Answer: C
GATE DA practice: past exam problems by chapter, with worked solutions · gatedaprep.com