Skip to content

Latest commit

 

History

History
8 lines (4 loc) · 461 Bytes

File metadata and controls

8 lines (4 loc) · 461 Bytes

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