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

Method push

src/class183/Code03_Race1.java:52–59  ·  view source on GitHub ↗
(int u, int f, int dis, int edge, int e)

Source from the content-addressed store, hash-verified

50 public static int stacksize;
51
52 public static void push(int u, int f, int dis, int edge, int e) {
53 stack[stacksize][0] = u;
54 stack[stacksize][1] = f;
55 stack[stacksize][2] = dis;
56 stack[stacksize][3] = edge;
57 stack[stacksize][4] = e;
58 stacksize++;
59 }
60
61 public static void pop() {
62 --stacksize;

Callers 2

getSize2Method · 0.95
dfs2Method · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected