MCPcopy 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
68func (lq *LQueue) Empty() bool {
69 return lq.queue.Len() == 0
70}

Callers 4

TestQueueFunction · 0.95
DequeueMethod · 0.95
FrontMethod · 0.95
BackMethod · 0.95

Calls 1

LenMethod · 0.65

Tested by 1

TestQueueFunction · 0.76