difference between breadth first search and depth first in tabular form
Answers
Answered by
0
Answer:
Difference Between BFS and DFS. ... Furthermore, BFS uses the queue for storing the nodes whereas DFS uses the stack for traversal of the nodes. BFS and DFS are the traversing methods used in searching a graph. Graph traversal is the process of visiting all the nodes of the graph.
Answered by
8
Answer:
Difference Between BFS and DFS. ... Furthermore, BFS uses the queue for storing the nodes whereas DFS uses the stack for traversal of the nodes. BFS and DFS are the traversing methods used in searching a graph. Graph traversal is the process of visiting all the nodes of the graph.
Similar questions