Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/StudyRust/leetcode_rust
/ contains
Method
contains
705-design-hashset.rs:25–27 ·
view source on GitHub ↗
(&self, key: i32)
Source
from the content-addressed store, hash-verified
23
}
24
25
fn contains(&self, key: i32) -> bool {
26
self.set.contains(&key)
27
}
28
}
29
30
fn main() {
Callers
15
count_vowel_substrings
Function · 0.80
self_dividing_numbers
Function · 0.80
count_consistent_strings
Function · 0.80
is_happy
Method · 0.80
is_contain_zero
Function · 0.80
missing_number
Function · 0.80
dest_city
Function · 0.80
num_of_strings
Function · 0.80
string_matching
Function · 0.80
find_difference
Function · 0.80
reverse_vowels
Function · 0.80
count_meta
Function · 0.80
Calls
no outgoing calls
Tested by
no test coverage detected