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

Method push

src/class162/Code03_UnderMoon1.java:103–108  ·  view source on GitHub ↗
(int fir, int sec, int edg)

Source from the content-addressed store, hash-verified

101 public static int stacksize, first, second, edge;
102
103 public static void push(int fir, int sec, int edg) {
104 fse[stacksize][0] = fir;
105 fse[stacksize][1] = sec;
106 fse[stacksize][2] = edg;
107 stacksize++;
108 }
109
110 public static void pop() {
111 --stacksize;

Callers 2

dfs3Method · 0.95
dfs4Method · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected