Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Consider a digraph G and a directed spanning forest F created by running DFS on G . F is the vertex - disjoint union of

Consider a digraph G and a directed spanning forest F created by running DFS on G.
F is the vertex-disjoint union of directed trees. Consider one such directed tree T with root r.
Assume r has two different children x, y in T.
Let X be the vertices reachable from x in T, and let Y be the vertices reachable from y in T.
(a)It is not possible that there is an arc in G from some element of X to some element of Y.
(b)There is no path in G from some element of X to some element of Y.
(c)It is not possible that there is an arc in G from some element of X to some element of Y, AND an arc in G from some element of Y to some element of X.
(d)Either the finishing times of all the elements of X are before the discovery times of all elements of Y, or the finishing times of all the elements of Y are before the discovery times of all the elements of X.

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access with AI-Powered Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Students also viewed these Databases questions