MCPcopy Create free account
hub / github.com/Ayush7614/Daily-Coding-DS-ALGO-Practice / pop

Method pop

Gfg/Java/Implementation of Stack.java:14–16  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

12 stackArray[++top] = j;
13 }
14 public long pop() {
15 return stackArray[top--];
16 }
17 public long peek() {
18 return stackArray[top];
19 }

Callers 15

mainMethod · 0.95
calculateSpanMethod · 0.45
levelOrderFunction · 0.45
topViewMethod · 0.45
buildTreeFunction · 0.45
nextLargerElementMethod · 0.45
mergeFunction · 0.45
buildTreeFunction · 0.45
buildTreeFunction · 0.45
bottomViewFunction · 0.45
buildTreeFunction · 0.45
huffmanEncodeFunction · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected