Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/TheAlgorithms/Go
/ BackQueue
Function
BackQueue
structure/queue/queuearray.go:32–34 ·
view source on GitHub ↗
BackQueue return the Back value
()
Source
from the content-addressed store, hash-verified
30
31
// BackQueue return the Back value
32
func
BackQueue() any {
33
return
ListQueue[len(ListQueue)-1]
34
}
35
36
// LenQueue will return the length of the queue list
37
func
LenQueue() int {
Callers
1
TestQueue
Function · 0.85
Calls
no outgoing calls
Tested by
1
TestQueue
Function · 0.68