Skip to content

widowM/Breadth-First-Search-Adjacency-List

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

BreadthFirstSearchAdjList

C# implementation of the Breadth First Search algorithm traversing a given unweighted graph layerwise. Searching stops when the requested node is found or when the whole graph is traversed but the requested node does not exist. The whole path between nodes followed by the algorithm is printed.

Example Graph:

ExampleGraph