0
1.9kviews
Graph Traversal Technique
1 Answer
0
19views
  1. Graphs can be traverse in two ways

    a. BFS (Breadth First Search)

    b. DFS(Depth First Search)

  2. 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 …

Create a free account to keep reading this post.

and 3 others joined a min ago.

Please log in to add an answer.