What is Breadth-first search?
A way of searching a graph or tree that visits vertices in order of distance from the start: first those one edge away, then those two edges away, and so on. It is implemented with a queue, and in a graph without edge weights it finds the smallest number of edges from the start to every vertex. It is abbreviated BFS.
Japanese name: 幅優先探索
Breadth-first search appears in 4 practice questions across 1 topic, including Data Structures and Algorithms.