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

Function dfs_rec

graph/code5.cpp:27–37  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

25}
26
27void dfs_rec(vector<int> vec[], int v)
28{
29 vector<bool> visited(v, false);
30 for (int i = 0; i < v; i++)
31 {
32 if (visited[i] == false)
33 {
34 dfs(vec, i, visited);
35 }
36 }
37}
38
39int main()
40{

Callers 1

mainFunction · 0.70

Calls 1

dfsFunction · 0.70

Tested by

no test coverage detected