Question: Which of the following algorithms is used for topological sorting in a directed acyclic graph (DAG)?
Options:
Correct Answer: Depth First Search
Solution:
Topological sorting can be performed using Depth First Search (DFS) on a directed acyclic graph.