MCPcopy Create free account
hub / github.com/codemistic/Data-Structures-and-Algorithms / bfs_recursive

Function bfs_recursive

graph/code4.cpp:37–47  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

35}
36
37void bfs_recursive(vector<int> vec[], int v)
38{
39 vector<bool> visited(v, false);
40 for (int i = 0; i < v; i++)
41 {
42 if (visited[i] == false)
43 {
44 bfs(vec, v, i, visited);
45 }
46 }
47}
48
49int main()
50{

Callers 1

mainFunction · 0.85

Calls 1

bfsFunction · 0.70

Tested by

no test coverage detected