EasyRememberGraphsMultiple Choice

What property of a graph must hold for topological sort to be possible?

Remember Tests recall of fundamental facts and definitions.

Answer Options

AThe graph must be connected
BThe graph must be directed and acyclic (DAG)
CThe graph must have no self-loops
DAll vertices must have equal in-degree

Want to see the correct answer?

Get the answer with a detailed explanation, plus practice 33+ more Graphs questions with adaptive quizzes and timed interviews.

See the Answer on Guru Sishya →

This question is from the Graphs topic (Algorithms).

More Graphs Questions