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