Search results for topological-sort

61 votes
5 answers
1
21 votes
7 answers
2
Consider the DAG with $V = \{1,2,3,4,5,6\}$ shown below.Which of the following is not a topological ordering?$1$ $2$ $3$ $4$ $5$ $6$$1$ $3$ $2$ $4$ $5$ $6$$1$ $3$ $2$ $4$...
0 votes
1 answer
7
how many topological sort possible for above graph?directions like this question https://gateoverflow.in/39669/gate-cse-2016-set-1-question-11
2 votes
0 answers
9
1 votes
1 answer
10
0 votes
1 answer
11
0 votes
2 answers
13
Match $\text{list I}$ with $\text{List II}$$\begin{array}{llll} & \text{List I} && \text{List II} \\ (A) & \text{Topological sort of DAG} & (I) & O(V+E) \\ (B) & \text{Kr...
0 votes
1 answer
15
0 votes
1 answer
17
9 votes
4 answers
18
2 votes
1 answer
19
number of toplogical sort sequence
0 votes
0 answers
20
The Adjacency matrix of a directed graph $\text{G}$ is given below.$\begin{array} {} & a & b & c & d & e & f & g & h & i \\ a & 0 & 1 & 0 & 0 & 0 & 0 & 1 & 0 & 0 \\ b & ...