This commit is contained in:
name 2022-08-09 16:17:36 -07:00
parent f55e3c2202
commit 13521b2fc4

View File

@ -1,7 +1,7 @@
# Breadth-First Search (BFS) # Breadth-First Search (BFS)
Breadth-first search (BFS) is an algorithm for traversing Breadth-first search (BFS) is an algorithm for traversing,
or searching tree or graph data structures. It starts at searching tree, or graph data structures. It starts at
the tree root (or some arbitrary node of a graph, sometimes the tree root (or some arbitrary node of a graph, sometimes
referred to as a 'search key') and explores the neighbor referred to as a 'search key') and explores the neighbor
nodes first, before moving to the next level neighbors. nodes first, before moving to the next level neighbors.