MCPcopy 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
70func (ll *Queue) frontQueue() any {
71 return ll.head.Data
72}
73
74// backQueue it will return the back data
75func (ll *Queue) backQueue() any {

Callers 1

TestQueueFunction · 0.95

Calls

no outgoing calls

Tested by 1

TestQueueFunction · 0.76