Consider the directed acyclic graph (DAG) below: Which of the following is/are…

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. A.

    P Q R S T U V

  2. B.

    P R Q V S U T

  3. C.

    P Q R S V U T

  4. D.

    P R Q S V T U

Attempted by 102 students.

Sign up free to check your answer

Sign up free

Explore the full course: Gate Guidance By Sanchit Sir

Loading lesson…