Filter by year

Introduction to Graph Theory questions

Q65

GATE DA 2025 DAGraph Theory and Graph AlgorithmsNAT2 marks

Report a problem with Q65

What is wrong?
Consider a directed graph G=(V,E)G = (V, E), where V={0,1,2,…,100}V = \{0, 1, 2, \ldots, 100\} and E={(i,j):0<j−i≤2,for all i,j∈V}E = \{(i, j) : 0 < j - i \le 2, \text{for all } i, j \in V\}. Suppose the adjacency list of each vertex is in decreasing order of vertex number, and depth-first search (DFS) is performed at vertex 0. The number of vertices that will be discovered after vertex 50 is __________ (Answer in integer)
Show answer without attempting

Loading the answer…

Q51

GATE DA 2024 DAGraph Theory and Graph AlgorithmsMSQ2 marks

Report a problem with Q51

What is wrong?
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?
Question figure
More than one option can be correct.
Show answer without attempting

Loading the answer…

0/20 correct0 marks

Related topics in Graph Theory and Graph Algorithms