Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/StudyRust/leetcode_rust
/ main
Function
main
706-design-hashmap.rs:39–44 ·
view source on GitHub ↗
()
Source
from the content-addressed store, hash-verified
37
}
38
39
fn main() {
40
let mut obj = MyHashMap::new();
41
obj.put(1, 2);
42
let ret_2: i32 = obj.get(1);
43
obj.remove(1);
44
}
Callers
nothing calls this directly
Calls
3
put
Method · 0.80
get
Method · 0.80
remove
Method · 0.45
Tested by
no test coverage detected