MCPcopy Index your code
hub / github.com/neetcode-gh/leetcode / pop

Method pop

java/0155-min-stack.java:19–22  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

17 }
18
19 public void pop() {
20 stack.pop();
21 minStack.pop();
22 }
23
24 public int top() {
25 return stack.peek();

Callers 15

isValidMethod · 0.45
calPointsMethod · 0.45
evalRPNMethod · 0.45
backtrackMethod · 0.45
removeKdigitsMethod · 0.45
nextMethod · 0.45
removeDuplicatesMethod · 0.45
convertBSTMethod · 0.45
smallestSubsequenceMethod · 0.45
removeStarsMethod · 0.45
checkValidStringMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected