Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
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
24
void addEdge(vector<int> adj[],int u,int v)
25
{
26
adj[u].push_back(v);
27
adj[v].push_back(u);
28
}
29
int main()
30
{
31
vector<int> adj[6];
Callers
1
main
Function · 0.85
Calls
1
push_back
Method · 0.80
Tested by
no test coverage detected