Q.

When the topological sort of a graph is unique?

A. when there exists a hamiltonian path in the graph
B. in the presence of multiple nodes with indegree 0
C. in the presence of single node with indegree 0
D. in the presence of single node with outdegree 0
Answer» A. when there exists a hamiltonian path in the graph
3.6k
0
Do you find this helpful?
26

Discussion

No comments yet