Question: What is a common application of DFS in graph theory?
Options:
Correct Answer: Topological sorting
Solution:
DFS is commonly used for topological sorting, which is applicable in scheduling problems where certain tasks must be completed before others.