Question: Which of the following problems can be solved using DFS?
Options:
Correct Answer: Topological sorting
Solution:
DFS can be used for finding paths in a maze and topological sorting, but not for finding the shortest path in a weighted graph.