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

Method addEdge

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

Source from the content-addressed store, hash-verified

54 }
55
56 public static void addEdge(int u, int v) {
57 nxt[++cntg] = head[u];
58 to[cntg] = v;
59 head[u] = cntg;
60 }
61
62 // 递归版
63 public static void tarjan1(int u, int preEdge) {

Callers 1

mainMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected