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

Method push

155-min-stack.rs:13–15  ·  view source on GitHub ↗
(&mut self, val: i32)

Source from the content-addressed store, hash-verified

11 }
12
13 fn push(&mut self, val: i32) {
14 self.stk.push(val);
15 }
16
17 fn pop(&mut self) {
18 self.stk.pop();

Callers 15

frequency_sortFunction · 0.45
lucky_numbersFunction · 0.45
count_binary_substringsFunction · 0.45
di_string_matchFunction · 0.45
reordered_power_of2Function · 0.45
sum_zeroFunction · 0.45
max_ascending_sumFunction · 0.45
find_min_differenceFunction · 0.45
subsetsFunction · 0.45
binary_gapFunction · 0.45
self_dividing_numbersFunction · 0.45
find_shortest_sub_arrayFunction · 0.45

Calls

no outgoing calls

Tested by 4

shortest_completing_wordFunction · 0.36
num_specialFunction · 0.36
final_pricesFunction · 0.36
shortest_to_charFunction · 0.36