40 likes | 57 Views
Depth-First Search. Depth first search explores one branch of a tree before it starts to explore another branch. It can be implemented by adding newly expanded nodes at the front of the queue.Using the general search algorithm we can implement it as follows:Function DEPTH-FIRST-SEARCH(problem) ret
E N D