Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/StudyRust/leetcode_rust
/ MyHashSet
Class
MyHashSet
705-design-hashset.rs:2–4 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
1
use std::collections::HashSet;
2
struct MyHashSet {
3
set: HashSet<i32>
4
}
5
6
7
/**
Callers
nothing calls this directly
Calls
no outgoing calls
Tested by
no test coverage detected