Question:
How does depth first work
Author: Will ParkerAnswer:
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. The algorithm does this until the entire graph has been explored.
0 / 5 Â (0 ratings)
1 answer(s) in total