Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
Index your code
hub
/
github.com/TheAlgorithms/Go
/ Len
Method
Len
structure/queue/queuelinklistwithlist.go:63–65 ·
view source on GitHub ↗
Len it will return the length of list
()
Source
from the content-addressed store, hash-verified
61
62
// Len it will return the length of list
63
func
(lq *LQueue) Len() int {
64
return
lq.queue.Len()
65
}
66
67
// Empty is check our list is empty or not
68
func
(lq *LQueue) Empty() bool {
Callers
1
TestQueue
Function · 0.95
Calls
1
Len
Method · 0.65
Tested by
1
TestQueue
Function · 0.76