MCPcopy Create free account
hub / github.com/codemistic/Data-Structures-and-Algorithms / enqueue

Method enqueue

Python/queue via stack.py:23–24  ·  view source on GitHub ↗
(self,item)

Source from the content-addressed store, hash-verified

21 self.outStack=Stack()
22
23 def enqueue(self,item):
24 self.inStacl.push(item)
25
26 def dequeue(self):
27 while len(self.inStack):

Callers

nothing calls this directly

Calls 1

pushMethod · 0.45

Tested by

no test coverage detected