MCPcopy Create free account
hub / github.com/HarshCasper/NeoAlgo / deQueue

Method deQueue

Go/ds/queue/queue_using_stack/queue_using_stack.go:144–161  ·  view source on GitHub ↗

deQueue(): if the underlying stacks are not empty then it will pop all elemnt from enQueueStack and push them to deQueueStack and return the value by poping it from deQueueStack and finally it will pop all element from deQueueStack and push them to enQueueStack again

()

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 1

mainFunction · 0.95

Calls 3

initQueueMethod · 0.95
pushMethod · 0.45
popMethod · 0.45

Tested by

no test coverage detected