MCPcopy 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
37func LenQueue() int {
38 return len(ListQueue)
39}
40
41// IsEmptyQueue check our list is empty or not
42func IsEmptyQueue() bool {

Callers 1

TestQueueFunction · 0.85

Calls

no outgoing calls

Tested by 1

TestQueueFunction · 0.68