The following backtracking algorithm is used to 3-color thegraph shown below. Recall that in a proper k-coloring of a graph,nodes are each assigned one of k colors, such that no adjacentnodes have the same color.

• Start from source node S.
• Color priority is Lavender (L), Orange(O), Teal (T). That is,we will always first try to use L, then O, then T for any givennode.
• Strategy A: To break ties, always try to assign a color to thelexicographically smallest uncolored node.
Strategy B: To break ties, always try to assign a color to thelexicographically largest uncolored node.
For each Strategy,
PayPal Gateway not configured
PayPal Gateway not configured