MCPcopy Index your code
hub / github.com/careercup/ctci / pop

Method pop

java/Chapter 3/Question3_3/Stack.java:32–37  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

30 }
31
32 public int pop() {
33 Node t = top;
34 top = top.below;
35 size--;
36 return t.value;
37 }
38
39 public boolean isEmpty() {
40 return size == 0;

Callers 12

mergesortMethod · 0.95
sortMethod · 0.95
mainMethod · 0.95
popMethod · 0.95
leftShiftMethod · 0.95
isPalindromeMethod · 0.95
shiftStacksFunction · 0.45
3_5.jsFile · 0.45
3_5_Spec.jsFile · 0.45
shiftStacksMethod · 0.45
removeMethod · 0.45
moveTopToMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected