Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
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_number
Function · 0.45
remove_duplicates
Function · 0.45
backtrace
Method · 0.45
main
Function · 0.45
cal_points
Function · 0.45
validate_stack_sequences
Function · 0.45
remove_stars
Function · 0.45
backtrace
Method · 0.45
is_covered
Function · 0.45
get_chars
Function · 0.45
Calls
no outgoing calls
Tested by
no test coverage detected