Skip to content

Latest commit

 

History

History
15 lines (11 loc) · 721 Bytes

File metadata and controls

15 lines (11 loc) · 721 Bytes

Breadth-First Search (BFS)

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

Algorithm Visualization

References