MCPcopy Create free account
hub / github.com/TheAlgorithms/Go / LQueue

Struct LQueue

structure/queue/queuelinklistwithlist.go:20–22  ·  view source on GitHub ↗

LQueue will be store the value into the list

Source from the content-addressed store, hash-verified

18
19// LQueue will be store the value into the list
20type LQueue struct {
21 queue *list.List
22}
23
24// Enqueue will be added new value
25func (lq *LQueue) Enqueue(value any) {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected