Term
Breadth-first search (BFS)
A way of walking a graph layer by layer from a start vertex: first all its neighbours, then their neighbours. It is written with a queue.
A way of walking a graph layer by layer from a start vertex: first all its neighbours, then their neighbours. It is written with a queue.