MCPcopy Create free account
hub / github.com/Ainevsia/Leetcode-Rust / top

Method top

155. Min Stack/src/main.rs:39–41  ·  view source on GitHub ↗
(&self)

Source from the content-addressed store, hash-verified

37 }
38
39 fn top(&self) -> i32 {
40 self.s.last().copied().unwrap()
41 }
42
43 fn get_min(&self) -> i32 {
44 self.ms.last().copied().unwrap()

Callers 1

lastStoneWeightMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected