Problem-85

 Problem-85

Use an adjacency list to represent the given graph.

graph vertices

Enter the vertices in alphabetical order, separated by commas.

Vertex Terminal Vertices
a   —
b   —
c   —
d

  —

 Solution

Vertex Terminal Vertices
a   a,b,c
b   c,d
c   a
d   a,b,c,d

 

 

 

Leave a Reply

Your email address will not be published. Required fields are marked *