in Algorithms edited by
671 views
0 votes
0 votes

​​​​​​Consider the directed acyclic graph (DAG) below:



Which of the following is/are valid vertex orderings that can be obtained from a topological sort of the DAG?

  1. $\text{P Q R S T U V}$
  2. $\text{P R Q V SUT}$
  3. $\text{P Q R S V U T}$
  4. $\text{P R Q S V T U}$

in Algorithms edited by
by
671 views

1 Answer

0 votes
0 votes
option B and D