Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/TheAlgorithms/Go
/ FrontQueue
Function
FrontQueue
structure/queue/queuearray.go:27–29 ·
view source on GitHub ↗
FrontQueue return the Front value
()
Source
from the content-addressed store, hash-verified
25
26
// FrontQueue return the Front value
27
func
FrontQueue() any {
28
return
ListQueue[0]
29
}
30
31
// BackQueue return the Back value
32
func
BackQueue() any {
Callers
1
TestQueue
Function · 0.85
Calls
no outgoing calls
Tested by
1
TestQueue
Function · 0.68