Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/StudyRust/leetcode_rust
/ main
Function
main
705-design-hashset.rs:30–35 ·
view source on GitHub ↗
()
Source
from the content-addressed store, hash-verified
28
}
29
30
fn main() {
31
let mut obj = MyHashSet::new();
32
obj.add(1);
33
obj.remove(1);
34
let ret_3: bool = obj.contains(1);
35
}
Callers
nothing calls this directly
Calls
3
add
Method · 0.80
contains
Method · 0.80
remove
Method · 0.45
Tested by
no test coverage detected