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

Method addEdge

src/class191/Code05_EBCC1.java:65–69  ·  view source on GitHub ↗
(int u, int v)

Source from the content-addressed store, hash-verified

63 }
64
65 public static void addEdge(int u, int v) {
66 nxt[++cntg] = head[u];
67 to[cntg] = v;
68 head[u] = cntg;
69 }
70
71 // 递归版
72 public static void tarjan1(int u, int preEdge) {

Callers 1

mainMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected