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

Method push

src/class185/Code04_Fantasy1.java:51–58  ·  view source on GitHub ↗
(int u, int f, int a, int b, int e)

Source from the content-addressed store, hash-verified

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

Callers 3

dfs3Method · 0.95
dfs4Method · 0.95
getSize2Method · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected