Note: The graph specifications from Homeworks #5 and #6 have been used with slight modifications, to make the data structures more familiar for you.
Then, construct a work budget for each type of operation, together with a Big-Oh estimate of complexity for each of the following graph representations: (a) adjacency matrix, (b) edge list, and (c) adjacency list.
(b) V = {a,b,c,d,e,f}, E = {(d,a,4), (d,c,1), (b,c,3), (a,b,1), (e,b,2), (c,e,3), (b,d,2)}.
(c) Analyze the complexity of each case ((a) and (b), above) by constructing a work budget similar to Question 1, but for the adjacency list representation only, followed by a Big-Oh estimate. (2 points total)
Copyright © 1999 by Mark S. Schmalz.