Question
What is a common use of Depth-First Search?
Select an option. Your answer will be checked instantly.
Correct Answer: B. cycle detection, topological reasoning, and connectivity
Explanation:
Depth-First Search is commonly used for cycle detection, topological reasoning, and connectivity.
Its design supports this task efficiently or naturally.
Leave a Reply