Breadth First Search - Tutorialspoint
www.tutorialspoint.com › breadth-first-searchAug 23, 2019 · Breadth First Search (BFS) starts at starting level-0 vertex X of the graph G. Then we visit all the vertices that are the neighbors of X. After visiting, we mark the vertices as "visited," and place them into level-1. Then we start from the level-1 vertices and apply the same method on every level-1 vertex and so on.