Question: 9. Consider the following directed graph G. 0 8 (a) Perform a DFS traversal on G starting at vertex 1. Assume that, in the traversal,

9. Consider the following directed graph G. 0 8 (a) Perform a DFS traversal on G starting at vertex 1. Assume that, in the traversal, the adjacent vertices are visited in the increasing order of vertex labels. Compute the preorder and postorder listing of the vertices. [3 Marksi] Traversal Sequence Preorder Postorder | (b) Using Kosaraju's algorithm, compute the strongly connected components of G 2 Marks
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
