Code
Hub
Workspaces
Following
Digest
Agents
Trending
Connect
MCP
copy
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
65
func
(ll *Queue) len() int {
66
return
ll.length
67
}
68
69
// frontQueue it will return the front data
70
func
(ll *Queue) frontQueue() any {
Callers
1
TestQueue
Function · 0.95
Calls
no outgoing calls
Tested by
1
TestQueue
Function · 0.76