Medium-EasyUnderstandGraphsMultiple Choice
What does an empty result from Kahn's topological sort indicate?
Understand — Tests comprehension and ability to explain concepts.
Answer Options
AThe graph has no edges
BThe graph contains a cycle
CAll nodes have zero in-degree
DThe graph is disconnected
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
What is the time complexity of BFS on a graph with V vertices and E edges?
EasyWhat is the difference between a directed and undirected graph?
EasyWhat property of a graph must hold for topological sort to be possible?
EasyWhat is the in-degree of a node in a directed graph?
EasyTime complexity of Dijkstra's algorithm with a binary min-heap?
Medium-Easy