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

Method Length

structure/deque/deque.go:82–84  ·  view source on GitHub ↗

Length gets the length of Deque.

()

Source from the content-addressed store, hash-verified

80
81// Length gets the length of Deque.
82func (dq *DoublyEndedQueue[T]) Length() int {
83 return len(dq.deque)
84}

Callers 1

TestDequeFunction · 0.45

Calls

no outgoing calls

Tested by 1

TestDequeFunction · 0.36