Question: 1. (20 points) Figure 1 shows a directed graph G. Assume that the adjacency list lists the edges in alphabetical order. A. Figure 1: Graph


1. (20 points) Figure 1 shows a directed graph G. Assume that the adjacency list lists the edges in alphabetical order. A. Figure 1: Graph for Pl (a) Apply depth first search (DFS) to graph G, and show the discovery and finish times of each vertex. In the main-loop of DFS, check the vertices in alphabetical order. You can write therests on the graph in Figure 1 (b) Draw the DFS tree obtained. (e) Draw the transpose graph of the graph in Figure 1. The vertices are given for your convenience O E
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
