Skip to main content

bfs

Function bfs 

Source
pub fn bfs(graph: &Graph, start: usize) -> Vec<usize>
Expand description

Returns nodes visited in BFS order starting from start.