Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/blindlobstar/go-interview-problems
/ Push
Method
Push
10-concurrent-queue/task.go:13–15 ·
view source on GitHub ↗
(val int)
Source
from the content-addressed store, hash-verified
11
}
12
13
func
(q *Queue) Push(val int) error {
14
return
nil
15
}
16
17
func
(q *Queue) Pop() int {
18
return
0
Callers
2
TestQueue
Function · 0.95
TestConcurrentQueue
Function · 0.95
Calls
no outgoing calls
Tested by
2
TestQueue
Function · 0.76
TestConcurrentQueue
Function · 0.76