MCPcopy Index your code
hub / github.com/TheAlgorithms/Go / len

Method len

structure/queue/queuelinkedlist.go:65–67  ·  view source on GitHub ↗

len is return the length of queue

()

Source from the content-addressed store, hash-verified

63
64// len is return the length of queue
65func (ll *Queue) len() int {
66 return ll.length
67}
68
69// frontQueue it will return the front data
70func (ll *Queue) frontQueue() any {

Callers 1

TestQueueFunction · 0.95

Calls

no outgoing calls

Tested by 1

TestQueueFunction · 0.76