A directed graph has and . Each adjacency list is in decreasing order of vertex number, and DFS starts at . The number of vertices discovered after vertex is .
Source: GATE DA
Programming · Graph Algorithms · Problem 4
A directed graph has and . Each adjacency list is in decreasing order of vertex number, and DFS starts at . The number of vertices discovered after vertex is .
Source: GATE DA
Free. Sign in with Google to read Srijit's solutions and talk the problems through with everyone in the cohort.