MCPcopy 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
32func BackQueue() any {
33 return ListQueue[len(ListQueue)-1]
34}
35
36// LenQueue will return the length of the queue list
37func LenQueue() int {

Callers 1

TestQueueFunction · 0.85

Calls

no outgoing calls

Tested by 1

TestQueueFunction · 0.68