Question: In a directed graph, define a vertex as source if it has indegree zero. Also, define a vertex as sink if it has out-degree zero.

In a directed graph, define a vertex as source if it has indegree zero. Also, define a vertex as sink if it has out-degree zero. Given a directed acyclic graph G = (V,E). If discovery time and finishing time are obtained by applying standard DFS, which is the property of vertex that is guaranteed to be a source?

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!