Introduction to AI and Applications (1BAIA103 / 1BAIA203) · Module 1 — Foundations of AI
Depth-First Search (DFS)
Depth-first search behaves like a person exploring a maze: keep going down one passage until it ends, then step back and try the last unexplored turn. DFS expands the deepest unexpanded node first.
The full lesson has a short video, an exam-style answer, notes, flashcards and a quiz.
Asked in the VTU model question papers
- MQP I Q2c (6 marks): Is Depth First Search (DFS) an informed search or uninformed search? Justify your answer.
- MQP II Q2a (8 marks): Outline the merits and demerits of the following search algorithms. (i) Breadth First Search (BFS) (ii) Uniform Cost Search (UCS) (iii) Depth-First Search (DFS).