MCPcopy Create free account
hub / github.com/StudyRust/leetcode_rust / pop

Method pop

155-min-stack.rs:17–19  ·  view source on GitHub ↗
(&mut self)

Source from the content-addressed store, hash-verified

15 }
16
17 fn pop(&mut self) {
18 self.stk.pop();
19 }
20
21 fn top(&self) -> i32 {
22 *self.stk.iter().last().unwrap()

Callers 10

reformat_numberFunction · 0.45
remove_duplicatesFunction · 0.45
backtraceMethod · 0.45
mainFunction · 0.45
cal_pointsFunction · 0.45
validate_stack_sequencesFunction · 0.45
remove_starsFunction · 0.45
backtraceMethod · 0.45
is_coveredFunction · 0.45
get_charsFunction · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected