Question: We will take a quick sojourn into algorithms for coloring.
(a) Design a greedy (parsimonious) algorithm for coloring the vertices of a graph.
(b) Your algorithm addresses the vertices in some order. Try it out on the graph in Figure. In fact, try your algorithm with each of the vertex orderings given in Figure. Does your algorithm give the optimal coloring in each case?
(c) Design a greedy (parsimonious) algorithm for coloring the edges of a graph.
(d) Your algorithm addresses the edges in some order. Try it out on the graph in Figure. In fact, try your algorithm with each of the edge orderings given in Figure. Does your algorithm give the optimal coloring in each case?
![105_47.jpg](https://secure.tutorsglobe.com/CMSImages/105_47.jpg)
![1716_48.jpg](https://secure.tutorsglobe.com/CMSImages/1716_48.jpg)