Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/VanjaRo/LeetCode
/ RandomizedSet
Struct
RandomizedSet
tasks/380.go:14–17 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
12
}
13
14
type
RandomizedSet
struct
{
15
vals []int
16
valsSet
map
[int]valEl
17
}
18
19
/** Initialize your data structure here. */
20
func
Constructor() RandomizedSet {
Callers
nothing calls this directly
Calls
no outgoing calls
Tested by
no test coverage detected