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

Method push

src/class184/Code03_Courier1.java:42–49  ·  view source on GitHub ↗
(int u, int f, int d, int t, int e)

Source from the content-addressed store, hash-verified

40 public static int stacksize;
41
42 public static void push(int u, int f, int d, int t, int e) {
43 stack[stacksize][0] = u;
44 stack[stacksize][1] = f;
45 stack[stacksize][2] = d;
46 stack[stacksize][3] = t;
47 stack[stacksize][4] = e;
48 stacksize++;
49 }
50
51 public static void pop() {
52 --stacksize;

Callers 2

getSize2Method · 0.95
dfs2Method · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected