Question DSA-GRAPH-0011
MediumTopological sorting is possible only for which kind of graph?
- A.
Any undirected graph
- B.
A graph with cycles
- C.
A complete graph
- D.
A directed acyclic graph (DAG)
Sign up free to see the answer and a step-by-step explanation.