Computer Science, asked by navyaswain160, 4 months ago

what is DFS definition?​

Answers

Answered by Anonymous
7

Answer:

Depth-first search (DFS) is an algorithm for searching a graph or tree data structure. The algorithm starts at the root (top) node of a tree and goes as far as it can down a given branch (path), then backtracks until it finds an unexplored path, and then explores it.

Answered by pariharvikrantsingh2
2

Answer:

hope you help

Explanation:

Depth-first search (DFS) is an algorithm for traversing or searching tree or graph data structures. The algorithm starts at the root node (selecting some arbitrary node as the root node in the case of a graph) and explores as far as possible along each branch before backtracking.

Similar questions