Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/austingebauer/go-leetcode
/ Constructor
Function
Constructor
time_based_key_value_store_981/solution.go:14–18 ·
view source on GitHub ↗
()
Source
from the content-addressed store, hash-verified
12
}
13
14
func
Constructor() TimeMap {
15
return
TimeMap{
16
m: make(
map
[string][]*entry),
17
}
18
}
19
20
func
(m *TimeMap) Set(key string, value string, timestamp int) {
21
entries, ok := m.m[key]
Callers
1
TestKV
Function · 0.70
Calls
no outgoing calls
Tested by
1
TestKV
Function · 0.56