Question: Which algorithm is typically used for topological sorting of a directed acyclic graph?
Options:
Correct Answer: DFS
Solution:
DFS is typically used for topological sorting of a directed acyclic graph (DAG) because it can explore all paths and backtrack effectively.