GATE Assistant

Past questions › Data Science and Artificial Intelligence › GATE 2025

GATE 2025 · DA · NAT · 2 marks · Programming, Data Structures and Algorithms › Graph Theory & Traversals

GATE 2025 Data Science and Artificial Intelligence question: Consider a directed graph G = (V, E), where V = \ 0, 1, 2, , 100\ and E = \ (i, j) : 0 <…

Consider a directed graph , where and . 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

This question is in an all-India live mock that is open now. Its answer appears here when the mock closes.

Practise this question with exam-style marking