GATE DA 2024 · Question 51 · Programming, Data Structures and Algorithms · Multiple select (MSQ) · 2 marks · no negative marks
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?

- (A) P Q R S T U V
- (B) P R Q V S U T
- (C) P Q R S V U T
- (D) P R Q S V T U
Answer
Answer (B), (D)
Answer from the official GATE DA 2024 answer key.
The step-by-step solution, where available, is part of GATE DA Pro. See what Pro includes