initialize your data structure here. */
()
| 15 | |
| 16 | /** initialize your data structure here. */ |
| 17 | fn new() -> Self { |
| 18 | MinStack { |
| 19 | s: Vec::new(), |
| 20 | ms: Vec::new(), |
| 21 | } |
| 22 | } |
| 23 | |
| 24 | fn push(&mut self, x: i32) { |
| 25 | self.s.push(x); |
nothing calls this directly
no outgoing calls
no test coverage detected