Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
Index your code
hub
/
github.com/TheAlgorithms/Go
/ frontQueue
Method
frontQueue
structure/queue/queuelinkedlist.go:70–72 ·
view source on GitHub ↗
frontQueue it will return the front data
()
Source
from the content-addressed store, hash-verified
68
69
// frontQueue it will return the front data
70
func
(ll *Queue) frontQueue() any {
71
return
ll.head.Data
72
}
73
74
// backQueue it will return the back data
75
func
(ll *Queue) backQueue() any {
Callers
1
TestQueue
Function · 0.95
Calls
no outgoing calls
Tested by
1
TestQueue
Function · 0.76