Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/TheAlgorithms/Go
/ LenQueue
Function
LenQueue
structure/queue/queuearray.go:37–39 ·
view source on GitHub ↗
LenQueue will return the length of the queue list
()
Source
from the content-addressed store, hash-verified
35
36
// LenQueue will return the length of the queue list
37
func
LenQueue() int {
38
return
len(ListQueue)
39
}
40
41
// IsEmptyQueue check our list is empty or not
42
func
IsEmptyQueue() bool {
Callers
1
TestQueue
Function · 0.85
Calls
no outgoing calls
Tested by
1
TestQueue
Function · 0.68