Chapter 3: Q1E (page 106)
Perform a depth-first search on the following graph; whenever there’s a choice of vertices, pick the one that is alphabetically first. Classify each edge as a tree edge or back edge, and give the pre and post number of each vertex.
Short Answer
In the given problem, applieddepth-first search where the order of traverse is .
In order first we get the pre vertices of all and then get post vertex of the graph. Which are mentioned in the above diagram.