Topological sort is equivalent to which of the traversals in trees?
(a) Pre-order traversal
(b) Post-order traversal
(c) In-order traversal
(d) Level-order traversal
This question was posed to me by my college professor while I was bunking the class.
Asked question is from Topological Sort in division Miscellaneous of Data Structures & Algorithms II