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

Method getg

src/class162/Code07_HotHotels1.java:55–57  ·  view source on GitHub ↗
(int u, int i)

Source from the content-addressed store, hash-verified

53 }
54
55 public static long getg(int u, int i) {
56 return g[gid[u] + i];
57 }
58
59 public static void addEdge(int u, int v) {
60 next[++cntg] = head[u];

Callers 1

dfs3Method · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected