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

Function addEdge

CPP/graph_tree/dfs.cpp:24–28  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

22};
23
24void addEdge(vector<int> adj[],int u,int v)
25{
26 adj[u].push_back(v);
27 adj[v].push_back(u);
28}
29int main()
30{
31 vector<int> adj[6];

Callers 1

mainFunction · 0.85

Calls 1

push_backMethod · 0.80

Tested by

no test coverage detected