Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
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
mergesort
Method · 0.95
sort
Method · 0.95
main
Method · 0.95
pop
Method · 0.95
leftShift
Method · 0.95
isPalindrome
Method · 0.95
shiftStacks
Function · 0.45
3_5.js
File · 0.45
3_5_Spec.js
File · 0.45
shiftStacks
Method · 0.45
remove
Method · 0.45
moveTopTo
Method · 0.45
Calls
no outgoing calls
Tested by
no test coverage detected