0
1.9kviews
Graph Traversal Technique
1 Answer
| written 7.2 years ago by | modified 7.2 years ago by |
Graphs can be traverse in two ways
a. BFS (Breadth First Search)
b. DFS(Depth First Search)
BFS
1.Breadth-first search starts at a given vertex āSā, which is at level 0.
2.In the first stage, we visit all the vertices that are at the distance of one edge away.
3.When we ā¦