The topological sorting of any DAG can be done in ________ time.
(a) cubic
(b) quadratic
(c) linear
(d) logarithmic
I'm obligated to ask this question of Directed Acyclic Graph topic in division Graph of Data Structures & Algorithms I
This question was addressed to me during an interview.