24.5k views
19 votes
17. What data structure is used for depth first
traversal of a graph.​

1 Answer

2 votes

Answer:

Depth First Search (DFS) algorithm traverses a graph in a depthward motion and uses a stack to remember to get the next vertex to start a search, when a dead end occurs in any iteration.anation:

User BrooklynSon
by
3.7k points