Breadth-First Search (BFS)

BFS is a traversal algorithm in graph theory. Please see BFS for more details.

BFS is also very commonly used in searching problems in which each state corresponds to a node in the graph.


Comments