MCQ
Single Best Answer
Easy
QWhat is a topological sort?
ID: #5653
Graph
143 views
Question Info
#5653Q ID
EasyDifficulty
GraphTopic
Your Answer
Choose the Best Option
Click any option to instantly check if you're correct.
Correct Answer: Option C
Explanation
A way to sort the vertices of a directed acyclic graph based on their dependencies.
Note: A topological sort is only possible for a directed acyclic graph (DAG) as there should not be any cycles in it. It provides a linear ordering of the vertices such that for every directed edge uv from vertex u to vertex v, u comes before v in the ordering.
Continue Practice
Share
Share This Question
Challenge a friend or share with your study group.
More from This Topic