Topological sort can be applied to which of the following graphs?
(a) Undirected Cyclic Graphs
(b) Directed Cyclic Graphs
(c) Undirected Acyclic Graphs
(d) Directed Acyclic Graphs
I have been asked this question during a job interview.
The doubt is from Topological Sort topic in section Miscellaneous of Data Structures & Algorithms II