Breadth-First Search

Learn about a search technique for graphs called breadth-first search.

Breadth-first search (BFS) is a search technique used on undirected and directed graphs. Unlike depth-first search, where the probing is geared to plumb the depths first, breadth-first search proceeds more in the manner of a widening search in which the radius of the search is increased incrementally.

Get hands-on with 1400+ tech skills courses.