Question DSA-GRAPH-0011
MediumTopological sorting is possible only for which kind of graph?
- A.
Any undirected graph
- B.
A graph with cycles
- C.
Sign up free to see the answer and a step-by-step explanation.
Popular companies
Prepare company by company
Hiring pattern, syllabus, past questions and mocks for each company.
All companiesPractice by subject
Graphs question
Topological sorting is possible only for which kind of graph?
Any undirected graph
A graph with cycles
Sign up free to see the answer and a step-by-step explanation.
A complete graph
A directed acyclic graph (DAG)