MCPcopy Create free account
hub / github.com/aistrate/AlgorithmsSedgewick / pop

Method pop

1-Fundamentals/1-3-BagsQueuesStacks/Stack.java:78–84  ·  view source on GitHub ↗

Delete and return the item most recently added to the stack. Throw an exception if no such item exists because the stack is empty.

()

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 10

mainMethod · 0.95
isBalancedMethod · 0.95
isBalancedMethod · 0.95
mainMethod · 0.95
checkSequenceMethod · 0.95
mainMethod · 0.95
mainMethod · 0.95
mainMethod · 0.95
NFAMethod · 0.95
GrahamScanMethod · 0.45

Calls 1

isEmptyMethod · 0.95

Tested by

no test coverage detected