MCPcopy Create free account
hub / github.com/algorithmzuo/algorithm-journey / addEdge

Method addEdge

src/class191/Code06_Network1.java:52–56  ·  view source on GitHub ↗
(int u, int v)

Source from the content-addressed store, hash-verified

50 }
51
52 public static void addEdge(int u, int v) {
53 nxt[++cntg] = head[u];
54 to[cntg] = v;
55 head[u] = cntg;
56 }
57
58 public static void tarjan(int u, int preEdge) {
59 dfn[u] = low[u] = ++cntd;

Callers 2

condenseMethod · 0.95
mainMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected