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

Method push

src/class185/Code06_ChengDu1.java:64–71  ·  view source on GitHub ↗
(int u, int f, int nl, int nr, int e)

Source from the content-addressed store, hash-verified

62 public static int stacksize;
63
64 public static void push(int u, int f, int nl, int nr, int e) {
65 stack[stacksize][0] = u;
66 stack[stacksize][1] = f;
67 stack[stacksize][2] = nl;
68 stack[stacksize][3] = nr;
69 stack[stacksize][4] = e;
70 stacksize++;
71 }
72
73 public static void pop() {
74 --stacksize;

Callers 2

getSize2Method · 0.95
dfs2Method · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected